aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:12:28 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:12:28 +0000
commitfa7839124966ea2408f0f6052bc27d97904ee9d3 (patch)
treee317edf983feb9b3f525f1e242dff88f9793afb7
parent43ecdc966c9471f7d020b60b9b756170f8a5b9cb (diff)
Fix typo.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs2
-rw-r--r--lsb-bootscripts/etc/init.d/mountvirtfs2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index b8de10076..f7f9505a4 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -35,7 +35,7 @@ case "${1}" in
mkdir -p /run
mount -n /run || failed=1
mkdir -p /run/{var,lock,shm}
- chown 1777 /run/shm
+ chmod 1777 /run/shm
log_info_msg "Mounting virtual file systems: ${INFO}/run"
diff --git a/lsb-bootscripts/etc/init.d/mountvirtfs b/lsb-bootscripts/etc/init.d/mountvirtfs
index 20fdd5a93..d7d1b887c 100644
--- a/lsb-bootscripts/etc/init.d/mountvirtfs
+++ b/lsb-bootscripts/etc/init.d/mountvirtfs
@@ -32,7 +32,7 @@ case "${1}" in
# create needed directories in /run
mkdir /run/{var,lock,shm} || failed=1
- chown 1777 /run/shm
+ chmod 1777 /run/shm
(exit ${failed})
evaluate_retval standard