Changeset ceed481
- Timestamp:
- 10/26/2008 06:58:59 AM (15 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.4, 6.5, 6.6, 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:
- 53eeda09
- Parents:
- 6da4dd7
- Location:
- bootscripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r6da4dd7 rceed481 1 2008-10-26 Dan Nicholson <dnicholson@linuxfromscratch.org> 2 * lfs/init.d/functions: Remove stale pid files when encountered 3 in loadproc/killproc/reloadproc. When the bootscript specifies 4 a pid file to use with the "-p pidfile" argument, *proc 5 functions previously bailed out when the referenced file 6 contains an invalid pid. 7 1 8 2008-10-23 DJ Lucas <dj@linuxfromscratch.org> 2 9 * lfs/init.d/console: Removed BROKEN_COMPOSE as kernel patch has 3 10 been accepted upstream. 4 11 5 12 2008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org> 6 13 * lfs/init.d/udev: lfs/init.d/udev_retry: Use new udevadm program. … … 101 108 * Removed console config file and makefile targets. 102 109 * Removed references to /dev/bug and bugreport in udevand 103 110 udev_retry bootscripts. (DJ Lucas) 104 111 n/a - April 17, 2006 105 112 * Updated udev script to use the new udevsettle program. … … 109 116 n/a - April 15, 2006 110 117 * Cleaned up contrib directory. Removed: contrib/init.d, 111 118 contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2 112 119 patch. (DJ Lucas) 113 120 114 121 n/a - April 14, 2006 115 122 * Merged changes from udev_update branch (DJ Lucas) 116 123 * Replaced a return with an exit and reversed comment changes in 117 124 udev bootscript. (Dan Nicholson) 118 125 * Replaced walk_sysfs function in udev bootscript with new udevtrigger 119 126 program and move wait_for_uevents function inline. (DJ Lucas) 120 127 * Removed extra evaluate_retval in udev bootscript. (Ken Moffat) 121 * Wait for uevents to be processed in the udev script. See ticket #1720122 for details. (Matthew Burgess)128 * Wait for uevents to be processed in the udev script. See ticket 129 #1720 for details. (Matthew Burgess) 123 130 124 131 n/a - March 21, 2006 125 126 132 * Removed old references to boot_log function and arguments passed 133 to boot_mesg_flush in echo_* functions. (DJ Lucas) 127 134 128 135 n/a - March 10, 2006 129 136 * Moved src argument to ipv4-static-route service script and 130 137 removed from ipv4-static service script. (DJ Lucas) 131 138 132 139 n/a - March 8. 2006 … … 288 295 * syslog-ng is now installed by default (Jeremy Utley) 289 296 * hotplug is now installed by default (Jeremy Utley) 290 * udev now uses /sbin/hotplug as the default hotplug handler (Nathan Coulson) 297 * udev now uses /sbin/hotplug as the default hotplug handler 298 (Nathan Coulson) 291 299 * udev now mounts a tmpfs instead of a ramfs onto /dev, 292 300 as suggested by Greg K-H (Nathan Coulson) … … 355 363 356 364 n/a - September 21, 2004 357 * boot_mesg has been enhanced. Subsequent calls will overwrite previous358 text, and it will wrap text basedupon the variable ${WCOL}.365 * boot_mesg has been enhanced. Subsequent calls will overwrite 366 previous text, and it will wrap text basedupon the variable ${WCOL}. 359 367 (James Robertson) 360 368 * Fixed mtu optional service typo (Kevin P Fleming) … … 807 815 * Fixed Makefile rc.6 to reboot 808 816 * Added -s flag to grep command in rc.d/init.d/network - 809 817 suppresses an error if no ifconfig.* files exist 810 818 811 819 n/a - January 30, 2004: … … 828 836 829 837 * New maintainers for the lfs-bootscripts package are: 830 Jeremy Utley (jeremy@linuxfromscratch.org)831 Nathan Coulson (nathan@linuxfromscratch.org)838 Jeremy Utley (jeremy@linuxfromscratch.org) 839 Nathan Coulson (nathan@linuxfromscratch.org) 832 840 833 841 1.11 - February 3rd, 2003: … … 839 847 840 848 * Fixed up checkfs to work with non-ext2 filesystems too (such as 841 minix).849 minix). 842 850 843 851 1.9 - April 5th, 2002: … … 885 893 886 894 * replaced -o %PPID with -o $PPID throughout the functions script. This 887 construct does what it's supposed to do (don't take PPID into account888 because this would fail if a running daemon and the bootscript have889 the same name).895 construct does what it's supposed to do (don't take PPID into account 896 because this would fail if a running daemon and the bootscript have 897 the same name). 890 898 891 899 * added 'restart' to the swap script … … 915 923 916 924 * removed the emptying of /etc/mtab since it's a symlink to 917 /proc/mounts now925 /proc/mounts now 918 926 919 927 * added the mountproc script which mounts the proc system. This is done -
bootscripts/lfs/init.d/functions
r6da4dd7 rceed481 292 292 fi 293 293 294 # Warn about stale pid file 295 if [ "$?" = 1 ]; then 296 boot_mesg -n "Removing stale pid file: ${pidfile}. " ${WARNING} 297 rm -f "${pidfile}" 298 fi 299 294 300 if [ -n "${pidlist}" ]; then 295 301 for pid in ${pidlist} … … 505 511 # return 4 - Program or service status is unknown 506 512 # 507 # Dependencies: nice 513 # Dependencies: nice, rm 508 514 # 509 515 # Todo: LSB says this should be called start_daemon … … 568 574 ;; 569 575 1) 570 log_warning_msg "Unable to continue: ${pidfile} exists"571 r eturn 0 # 4576 boot_mesg "Removing stale pid file: ${pidfile}" ${WARNING} 577 rm -f "${pidfile}" 572 578 ;; 573 579 3) … … 599 605 # return 4 - Unknown Status 600 606 # 601 # Dependencies: kill 607 # Dependencies: kill, rm 602 608 # 603 609 # Todo: LSB does not say that it should call evaluate_retval … … 647 653 else 648 654 pidofproc -s -p "${pidfile}" "${1}" 655 fi 656 657 # Remove stale pidfile 658 if [ "$?" = 1 ]; then 659 boot_mesg "Removing stale pid file: ${pidfile}." ${WARNING} 660 rm -f "${pidfile}" 649 661 fi 650 662
Note:
See TracChangeset
for help on using the changeset viewer.