public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/, sh/
Date: Sun, 16 Oct 2011 23:02:37 +0000 (UTC)	[thread overview]
Message-ID: <9f95878bbd5461837b00b5ea2134768302776584.vapier@gentoo> (raw)

commit:     9f95878bbd5461837b00b5ea2134768302776584
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 23:02:21 2011 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 23:02:21 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=9f95878b

fix random typos

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

---
 init.d/bootmisc.in |   10 +++++-----
 init.d/devdb.in    |    2 +-
 init.d/dumpon.in   |    2 +-
 init.d/fsck.in     |    2 +-
 init.d/ipfw.in     |    4 ++--
 sh/runscript.sh.in |    4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 2ca7926..31fa0c8 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -10,7 +10,7 @@ depend()
 	keyword -prefix -timeout
 }
 
-dir_writeable()
+dir_writable()
 {
 	mkdir "$1"/.test.$$ 2>/dev/null && rmdir "$1"/.test.$$
 }
@@ -25,7 +25,7 @@ cleanup_tmp_dir()
 	if ! [ -d "$dir" ]; then
 		mkdir -p "$dir" || return $?
 	fi
-	dir_writeable "$dir" || return 1
+	dir_writable "$dir" || return 1
 	chmod a+rwt "$dir" 2> /dev/null
 	cd "$dir" || return 1
 	if yesno $wipe_tmp; then
@@ -89,7 +89,7 @@ start()
 		fi
 	done
 
-	if dir_writeable /var/run; then
+	if dir_writable /var/run; then
 		ebegin "Creating user login records"
 		local xtra=
 		[ "$RC_UNAME" = NetBSD ] && xtra=x
@@ -131,7 +131,7 @@ start()
 		cleanup_tmp_dir "$tmp"
 	done
 
-	if dir_writeable /tmp; then
+	if dir_writable /tmp; then
 		# Make sure our X11 stuff have the correct permissions
 		# Omit the chown as bootmisc is run before network is up
 		# and users may be using lame LDAP auth #139411
@@ -144,7 +144,7 @@ start()
 	fi
 
 	if yesno $log_dmesg; then
-		if $logw || dir_writeable /var/log; then
+		if $logw || dir_writable /var/log; then
 			# Create an 'after-boot' dmesg log
 			if [ "$RC_SYS" != VSERVER -a "$RC_SYS" != OPENVZ ]; then
 				dmesg > /var/log/dmesg

diff --git a/init.d/devdb.in b/init.d/devdb.in
index 951c750..fcf2597 100644
--- a/init.d/devdb.in
+++ b/init.d/devdb.in
@@ -11,7 +11,7 @@ depend()
 
 start()
 {
-	ebegin "Bulding the dev database"
+	ebegin "Building the dev database"
 	if [ /var/run/dev.db -nt /dev ]; then
 		:
 	else

diff --git a/init.d/dumpon.in b/init.d/dumpon.in
index ec33174..4450bf9 100644
--- a/init.d/dumpon.in
+++ b/init.d/dumpon.in
@@ -19,7 +19,7 @@ start() {
 }
 
 stop() {
-	ebegin "Deactiving kernel core dump device"
+	ebegin "Deactivating kernel core dump device"
 	dumpon off
 	eend $?
 }

diff --git a/init.d/fsck.in b/init.d/fsck.in
index e8bf1cf..54537f6 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -91,7 +91,7 @@ start()
 			_reboot
 		fi;;
 	8)	ewend 1 "Operational error"; return 0;;
-	12)	ewend 1 "fsck interupted";;
+	12)	ewend 1 "fsck interrupted";;
 	*)	eend 2 "Filesystems couldn't be fixed";;
 	esac
 	_abort || return 1

diff --git a/init.d/ipfw.in b/init.d/ipfw.in
index ebfe421..434920d 100644
--- a/init.d/ipfw.in
+++ b/init.d/ipfw.in
@@ -59,7 +59,7 @@ start() {
 		return 1
 	fi
 
-	# Use a statefull firewall
+	# Use a stateful firewall
 	ipfw add check-state
 	ipfw add pass tcp from me to any established
 
@@ -123,7 +123,7 @@ start() {
 	ipfw add deny udp from any to any 520 in
 
 	# Noise from webbrowsing.
-	# The statefull filter is a bit agressive, and will cause some
+	# The stateful filter is a bit aggressive, and will cause some
 	# connection teardowns to be logged.
 	ipfw add deny tcp from any 80,443 to any 1024-65535 in
 

diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index 5853212..26dcfb3 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -88,7 +88,7 @@ keyword() {
 	[ -n "$*" ] && echo "keyword $*"
 }
 
-# Descript the init script to the user
+# Describe the init script to the user
 describe()
 {
 	if [ -n "$description" ]; then
@@ -217,7 +217,7 @@ if [ -n "$opts" ]; then
 fi
 
 while [ -n "$1" ]; do
-	# Sepcial case depend
+	# Special case depend
 	if [ "$1" = depend ]; then
 		shift
 		_depend



             reply	other threads:[~2011-10-16 23:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-16 23:02 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-03 18:05 [gentoo-commits] proj/openrc:master commit in: init.d/, sh/ William Hubbs
2013-02-17  2:49 William Hubbs
2012-02-20 23:11 William Hubbs
2012-01-28 18:32 Christian Ruppert
2012-01-22 18:00 William Hubbs
2011-12-20  4:01 William Hubbs
2011-11-19  0:05 William Hubbs
2011-07-05 23:42 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f95878bbd5461837b00b5ea2134768302776584.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox