aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-21 01:47:41 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-21 01:47:41 +0000
commit40690e1f21f7d780f7202277f05e03967d3f4012 (patch)
tree92063529b06b2412135f4f6993ae6e9d708f1578 /bootscripts
parent7027db5944782f1d1330e49f4f7767ee75525137 (diff)
Remove a bashism from the mountkernfs boot script.
Move the $time init capability from setclock to udev. Remove and recreate $LFS/dev/shm in Section 6.2 if it is a symbolic link. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9860 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs2
-rw-r--r--bootscripts/lfs/init.d/setclock2
-rw-r--r--bootscripts/lfs/init.d/udev2
3 files changed, 3 insertions, 3 deletions
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 6f9df8d14..0330a1a97 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -34,7 +34,7 @@ case "${1}" in
# Make sure /run/var is available before logging any messages
mkdir -p /run
mount -n /run || failed=1
- mkdir -p /run/{var,lock,shm}
+ mkdir -p /run/var /run/lock /run/shm
chmod 1777 /run/shm
log_info_msg "Mounting virtual file systems: ${INFO}/run"
diff --git a/bootscripts/lfs/init.d/setclock b/bootscripts/lfs/init.d/setclock
index 00345c84e..8bf3f402d 100644
--- a/bootscripts/lfs/init.d/setclock
+++ b/bootscripts/lfs/init.d/setclock
@@ -13,7 +13,7 @@
########################################################################
### BEGIN INIT INFO
-# Provides: $time
+# Provides:
# Required-Start:
# Should-Start: modules
# Required-Stop:
diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev
index 1246d6dad..5628545f6 100644
--- a/bootscripts/lfs/init.d/udev
+++ b/bootscripts/lfs/init.d/udev
@@ -13,7 +13,7 @@
########################################################################
### BEGIN INIT INFO
-# Provides: udev
+# Provides: udev $time
# Required-Start:
# Should-Start: modules
# Required-Stop: