From 40690e1f21f7d780f7202277f05e03967d3f4012 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 21 May 2012 01:47:41 +0000 Subject: 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 --- bootscripts/lfs/init.d/mountvirtfs | 2 +- bootscripts/lfs/init.d/setclock | 2 +- bootscripts/lfs/init.d/udev | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bootscripts') 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: -- cgit v1.2.3-54-g00ecf