Changeset ec45bd6 for bootscripts/contrib
- Timestamp:
- 04/28/2010 03:46:23 AM (14 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a8a87e6
- Parents:
- 01923b2
- Location:
- bootscripts/contrib/lsb-v3
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/contrib/lsb-v3/ChangeLog
r01923b2 rec45bd6 1 1 ChangeLog 2 20100427 - [dj] * Removed unneeded X-LFS-Default* lines. 3 * Corrected udev_retry script for new udev. 4 * Corrected path of syslogd and klogd in sysklogd script. 5 2 6 20090325 - [dj] * Corrected serveral echo commands missing -e - Thanks to 3 7 Michael Tremer at IPFire for the corrections. -
bootscripts/contrib/lsb-v3/README
r01923b2 rec45bd6 2 2 3 3 The scripts contianed in this directory are a complete rewrite of the 4 boot scripts from LFS-6.1 (updated for LFS-SVN about 20 08-05-31). As is4 boot scripts from LFS-6.1 (updated for LFS-SVN about 2010-04-28). As is 5 5 usually the case with a rewrite, there have been many changes: 6 6 … … 87 87 find them. 88 88 89 The sysctl script runs much earlier in the boot process, as a result, it 90 negates the need for the consolelog script. Set 'kernel.printk = X' in your 91 /etc/sysctl.conf file for equivalent functionality. 92 89 93 Thanks. 90 94 -
bootscripts/contrib/lsb-v3/init.d/checkfs
r01923b2 rec45bd6 12 12 # Short-Description: Checks local filesystems before mounting. 13 13 # Description: Checks local filesystmes before mounting. 14 # X-LFS-Default-Start: S3015 # X-LFS-Default-Stop:16 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/cleanfs
r01923b2 rec45bd6 14 14 # /tmp. cleanfs also creates /var/run/utmp and any files 15 15 # defined in /etc/sysconfig/createfiles. 16 # X-LFS-Default-Start: S5017 # X-LFS-Default-Stop:18 16 # X-LFS-Provided-By: LFS 19 17 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/console
r01923b2 rec45bd6 13 13 # Description: Sets up fonts and language settings for the user's 14 14 # local as defined by /etc/sysconfig/console. 15 # X-LFS-Default-Start: S7016 # X-LFS-Default-Stop:17 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/halt
r01923b2 rec45bd6 12 12 # Short-Description: Halts the system. 13 13 # Description: Halts the System. 14 # X-LFS-Default-Start:15 # X-LFS-Default-Stop: S9916 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/localnet
r01923b2 rec45bd6 13 13 # Description: Sets the hostname of the machine and starts the 14 14 # loopback interface. 15 # X-LFS-Default-Start: S8016 # X-LFS-Default-Stop: S9017 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/modules
r01923b2 rec45bd6 12 12 # Short-Description: Loads required modules. 13 13 # Description: Loads modules listed in /etc/sysconfig/modules. 14 # X-LFS-Default-Start: S1015 # X-LFS-Default-Stop:16 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/mountfs
r01923b2 rec45bd6 15 15 # start. Remounts root filesystem read-only and unmounts 16 16 # remaining filesystems on stop. 17 # X-LFS-Default-Start: S4018 # X-LFS-Default-Stop: S7019 17 # X-LFS-Provided-By: LFS 20 18 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/mountkernfs
r01923b2 rec45bd6 12 12 # Short-Description: Mounts /sys and /proc virtual (kernel) filesystems. 13 13 # Description: Mounts /sys and /proc virtual (kernel) filesystems. 14 # X-LFS-Default-Start: S0015 # X-LFS-Default-Stop:16 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/network
r01923b2 rec45bd6 12 12 # Short-Description: Starts and configures network interfaces. 13 13 # Description: Starts and configures network interfaces. 14 # X-LFS-Default-Start: S2015 # X-LFS-Default-Stop: K8016 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/reboot
r01923b2 rec45bd6 12 12 # Short-Description: Reboots the system. 13 13 # Description: Reboots the System. 14 # X-LFS-Default-Start:15 # X-LFS-Default-Stop: S9916 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/sendsignals
r01923b2 rec45bd6 12 12 # Short-Description: Attempts to kill remaining processes. 13 13 # Description: Attempts to kill remaining processes. 14 # X-LFS-Default-Start:15 # X-LFS-Default-Stop: S6016 14 # X-LFS-Provided-By: LFS 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/setclock
r01923b2 rec45bd6 13 13 # Description: On boot, system time is obtained from hwclock. The 14 14 # hardware clock can also be set on shutdown. 15 # X-LFS-Default-Start: S2516 # X-LFS-Default-Stop: K4617 15 # X-LFS-Provided-By: LFS BLFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/swap
r01923b2 rec45bd6 13 13 # Description: Mounts and unmounts swap partitions defined in 14 14 # /etc/fstab. 15 # X-LFS-Default-Start: S2016 # X-LFS-Default-Stop: S8017 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/sysctl
r01923b2 rec45bd6 13 13 # Description: Makes changes to the proc filesystem as defined in 14 14 # /etc/sysctl.conf. See 'man sysctl(8)'. 15 # X-LFS-Default-Start: S0516 # X-LFS-Default-Stop:17 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/sysklogd
r01923b2 rec45bd6 13 13 # Description: Starts kernel and system log daemons. 14 14 # /etc/fstab. 15 # X-LFS-Default-Start: S1016 # X-LFS-Default-Stop: K9017 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO … … 23 21 start) 24 22 MESSAGE="system log daemon..." 25 start_daemon / usr/sbin/syslogd -m 023 start_daemon /sbin/syslogd -m 0 26 24 evaluate_retval start 27 25 28 26 MESSAGE="kernel log daemon..." 29 start_daemon / usr/sbin/klogd27 start_daemon /sbin/klogd 30 28 evaluate_retval start 31 29 ;; … … 33 31 stop) 34 32 MESSAGE="kernel log daemon..." 35 killproc / usr/sbin/klogd33 killproc /sbin/klogd 36 34 evaluate_retval stop 37 35 38 36 MESSAGE="system log daemon..." 39 killproc / usr/sbin/syslogd37 killproc /sbin/syslogd 40 38 evaluate_retval stop 41 39 ;; … … 43 41 force-reload) 44 42 MESSAGE="system log daemon config file..." 45 killproc -HUP `/ usr/sbin/syslogd`43 killproc -HUP `/sbin/syslogd` 46 44 evaluate_retval reload 47 45 ;; … … 50 48 MESSAGE="system and kernel log deamons..." 51 49 failed=0 52 killproc / usr/sbin/klogd || failed=153 killproc / usr/sbin/syslogd || failed=154 start_daemon / usr/sbin/syslogd -m 0 || failed=155 start_daemon / usr/sbin/klogd || failed=150 killproc /sbin/klogd || failed=1 51 killproc /sbin/syslogd || failed=1 52 start_daemon /sbin/syslogd -m 0 || failed=1 53 start_daemon /sbin/klogd || failed=1 56 54 (exit ${failed}) 57 55 evaluate_retval restart … … 59 57 60 58 status) 61 statusproc / usr/sbin/syslogd62 statusproc / usr/sbin/klogd59 statusproc /sbin/syslogd 60 statusproc /sbin/klogd 63 61 ;; 64 62 -
bootscripts/contrib/lsb-v3/init.d/template
r01923b2 rec45bd6 12 12 # Short-Description: 13 13 # Description: 14 # X-LFS-Default-Start:15 # X-LFS-Default-Stop:16 14 # X-LFS-Provided-By: 17 15 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/udev
r01923b2 rec45bd6 13 13 # Description: Mounts a tempfs on /dev and starts the udevd daemon. 14 14 # Device nodes are created as defined by udev. 15 # X-LFS-Default-Start: S1516 # X-LFS-Default-Stop:17 15 # X-LFS-Provided-By: LFS 18 16 ### END INIT INFO -
bootscripts/contrib/lsb-v3/init.d/udev_retry
r01923b2 rec45bd6 14 14 # slow hardware initialization, and creates those needed 15 15 # device nodes 16 # X-LFS-Default-Start: S4517 # X-LFS-Default-Stop:18 16 # X-LFS-Provided-By: LFS 19 17 ### END INIT INFO … … 36 34 37 35 # Re-trigger the failed uevents in hope they will succeed now 38 /sbin/udevadm trigger -- retry-failed36 /sbin/udevadm trigger --type=failed 39 37 40 38 # Now wait for udevd to process the uevents we triggered
Note:
See TracChangeset
for help on using the changeset viewer.