Synced lsb-v3 scripts with main bootscripts, changed format of changelog.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
DJ Lucas 2011-04-25 03:07:03 +00:00
parent 29450ec185
commit 84ce1e3fca
4 changed files with 81 additions and 48 deletions

View File

@ -1,69 +1,99 @@
ChangeLog
20101012 - [dj] * Added udev to Required-Start for swap script.
20100823 - [dj] * Fix missing 'then' in sendsignals conditionals. Thanks to
Jeremy Huntwork for the report and correction.
20110424 - [dj]
* Sync to LFS-Bootscripts-20110424 (move new run mounts and
symlinks [bdubbs]).
20100627 - [dj] * Sync to LFS-Bootscripts-20100627 (killall in new sysvinit).
* Standardized syntax for integer comparisons in tests.
20110418 - [bdubbs]
* lfs/init.d/mountvirtfs: Change name from mountkernfs to
mountvirtfs.
* Add mounting of /run filesystem.
20101012 - [dj]
* Added udev to Required-Start for swap script.
20100823 - [dj]
* Fix missing 'then' in sendsignals conditionals. Thanks to
Jeremy Huntwork for the report and correction.
20100627 - [dj]
* Sync to LFS-Bootscripts-20100627 (killall in new sysvinit).
* Standardized syntax for integer comparisons in tests.
20100529 - [matthew]
* Only copy /lib/udev/devices/null, as Udev >= 155 copies
devices from /lib/udev/devices to /dev itself.
Udevd still needs /dev/null present before starting up though.
* Only copy /lib/udev/devices/null, as Udev >= 155 copies
devices from /lib/udev/devices to /dev itself.
Udevd still needs /dev/null present before starting up though.
20100529 - [dj] * Sync to LFS-Bootscirpts-20100529
* Add test if /dev is already mounted in udev script.
* Added --action=add to udevadmin trigger lines of udev script.
20100529 - [dj]
* Sync to LFS-Bootscirpts-20100529
* Add test if /dev is already mounted in udev script.
* Added --action=add to udevadmin trigger lines of udev script.
20100427 - [dj] * Removed unneeded X-LFS-Default* lines.
* Corrected udev_retry script for new udev.
* Corrected path of syslogd and klogd in sysklogd script.
20100427 - [dj]
* Removed unneeded X-LFS-Default* lines.
* Corrected udev_retry script for new udev.
* Corrected path of syslogd and klogd in sysklogd script.
20090325 - [dj] * Corrected serveral echo commands missing -e - Thanks to
Michael Tremer at IPFire for the corrections.
20090325 - [dj]
* Corrected serveral echo commands missing -e - Thanks to
Michael Tremer at IPFire for the corrections.
20081023 - [dj] * Removed BROKEN_COMPOSE handling in console script because
kernel patch was accepted upstream.
20081023 - [dj]
* Removed BROKEN_COMPOSE handling in console script because
kernel patch was accepted upstream.
20080908 - [dj] * Corrected echo command in rc script - Thanks to
Michael Tremer at IPFire.
20080908 - [dj]
* Corrected echo command in rc script - Thanks to
Michael Tremer at IPFire.
20080907 - [dj] * Use new initd-tools package to activate scripts.
* $syslog and modules services cannot be a hard dependencies
due to minimal install target.
* Store bootlog date in UTC.
* Added hard deps to network script for local_fs, swap, and
localnet (account for /usr at network instead of $remote_fs).
20080907 - [dj]
* Use new initd-tools package to activate scripts.
* $syslog and modules services cannot be a hard dependencies
due to minimal install target.
* Store bootlog date in UTC.
* Added hard deps to network script for local_fs, swap, and
localnet (account for /usr at network instead of $remote_fs).
20080831 - [dj] * Corrected more, and minimized dependencies in scripts.
* Don't try to write to bootlog in 0 and 6.
* Use /etc/rcS.d instead of /etc/rcsysinit.d - added
replacement /etc/inittab file
20080831 - [dj]
* Corrected more, and minimized dependencies in scripts.
* Don't try to write to bootlog in 0 and 6.
* Use /etc/rcS.d instead of /etc/rcsysinit.d - added
replacement /etc/inittab file
20080830 - [dj] * Corrected remaining dependency errors in script headers.
20080830 - [dj]
* Corrected remaining dependency errors in script headers.
20080531 - [dj] * Synced with LFS-Bootscrpts-20080531 (use udevadm)
* Added additional functions to manage_functions script.
20080531 - [dj]
* Synced with LFS-Bootscrpts-20080531 (use udevadm)
* Added additional functions to manage_functions script.
20080413 - [dj] * Added manage_functions script for use by scripts such as
{install,remove}_initd or chkconfig, that need to parse the
LSB headers.
* Cleaned up script headers to reflect real Start or Stop
20080413 - [dj]
* Added manage_functions script for use by scripts such as
{install,remove}_initd or chkconfig, that need to parse the
LSB headers.
* Cleaned up script headers to reflect real Start or Stop
20080315 - [dj] * Corrected test for $pidfile in pidofproc()
* Replaced exit with return in statusproc() - (lfs-functions)
20080315 - [dj]
* Corrected test for $pidfile in pidofproc()
* Replaced exit with return in statusproc() - (lfs-functions)
20080315 - [dj] * Added missing 'stale pid file' checking for pidofproc()
20080315 - [dj]
* Added missing 'stale pid file' checking for pidofproc()
20080210 - [dj] * Updated documentation
20080210 - [dj]
* Updated documentation
20070820 - [dj] * Synced with LFS-bootscripts
20070820 - [dj]
* Synced with LFS-bootscripts
20070705 - [dj] * Synced with LFS-bootscripts
* Removed 'stty' from the environment setup as it breaks
custom key configs when run from the CLI.
20070705 - [dj]
* Synced with LFS-bootscripts
* Removed 'stty' from the environment setup as it breaks
custom key configs when run from the CLI.
20070218 - [dj] * Synced with LFS-bootscripts.
20070218 - [dj]
* Synced with LFS-bootscripts.
20070206 - [dj] * Initial commit
20070206 - [dj]
* Initial commit

View File

@ -41,7 +41,6 @@ case "${1}" in
# their option list. _netdev denotes a network filesystem.
message="Mounting remaining file systems..."
mount -a -O no_netdev >/dev/null
ln -s /run/shm /dev/shm
evaluate_retval standard
;;

View File

@ -33,6 +33,7 @@ case "${1}" in
if ! mountpoint /run > /dev/null; then
message="${message}${INFO} /run${NORMAL}"
mount -n /run || failed=1
mkdir /run/{var,lock,shm} || failed=1
fi
(exit ${failed})

View File

@ -52,6 +52,9 @@ case "${1}" in
/etc/rc.d/init.d/halt stop
fi
# Create a symlink for POSIX shared memory
ln -s /run/shm /dev/shm
# Udev handles uevents itself, so we don't need to have
# the kernel call out to any binary in response to them
echo > /proc/sys/kernel/hotplug