Subversion Repositories svn LFS-FR

Compare Revisions

Ignore whitespace Rev 1300 → Rev 1301

/trunk/lfs/bootscripts/contrib/lsb-v3/init.d/mountfs
41,7 → 41,6
# 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
;;
 
/trunk/lfs/bootscripts/contrib/lsb-v3/init.d/mountvirtfs
33,6 → 33,7
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})
/trunk/lfs/bootscripts/contrib/lsb-v3/init.d/udev
52,6 → 52,9
/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
/trunk/lfs/bootscripts/contrib/lsb-v3/ChangeLog
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
/trunk/lfs/bootscripts/lfs/init.d/mountfs
26,6 → 26,7
 
boot_mesg "Recording existing mounts in /etc/mtab..."
> /etc/mtab
 
mount -f / || failed=1
mount -f /proc || failed=1
mount -f /sys || failed=1
38,11 → 39,6
boot_mesg "Mounting remaining file systems..."
mount -a -O no_netdev >/dev/null
evaluate_retval
 
#Create a symlink for shared memory after /dev is mounted
boot_mesg "Redirect /dev/shm to /run/shm..."
ln -s /run/shm /dev/shm
evaluate_retval
;;
 
stop)
/trunk/lfs/bootscripts/lfs/init.d/mountvirtfs
32,8 → 32,7
if ! mountpoint /run >/dev/null; then
boot_mesg -n " /run" ${NORMAL}
mount -n /run || failed=1
mkdir /run/var
mkdir /run/shm
mkdir /run/{var,lock,shm}
fi
 
boot_mesg "" ${NORMAL}
/trunk/lfs/bootscripts/lfs/init.d/udev
49,6 → 49,8
/etc/rc.d/init.d/halt stop
fi
 
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