Changeset bd1b5be for bootscripts/contrib/lsb-v3
- Timestamp:
- 05/14/2011 06:46:00 PM (13 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, 12.2, 12.2-rc1, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- dad97de
- Parents:
- 34a7193
- Location:
- bootscripts/contrib/lsb-v3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/contrib/lsb-v3/ChangeLog
r34a7193 rbd1b5be 1 1 ChangeLog 2 3 20110514 - [dj] 4 * Added FAILURE_ACTION variable to rc.site for use in remote systems 5 where user input is not appropriate in the event of a failure 2 6 3 7 20110424 - [dj] -
bootscripts/contrib/lsb-v3/init.d/checkfs
r34a7193 rbd1b5be 36 36 echo -e "${FAILURE}halted and powered off.\n" 37 37 echo -e "${INFO}Press enter to continue...${NORMAL}" 38 read ENTER38 $FAILURE_ACTION 39 39 /etc/rc.d/init.d/halt stop 40 40 fi … … 72 72 echo -e "After you press enter, this system will be rebooted.\n" 73 73 echo -e "${INFO}Press Enter to continue...${NORMAL}" 74 read ENTER74 $FAILURE_ACTION 75 75 reboot -f 76 76 elif [ "${error_value}" -gt 3 -a "${error_value}" -lt 16 ]; then … … 85 85 echo -e "${FAILURE}halted and powered off.\n" 86 86 echo -e "${INFO}Press Enter to continue...${NORMAL}" 87 read ENTER87 $FAILURE_ACTION 88 88 /etc/rc.d/init.d/halt stop 89 89 elif [ "${error_value}" -ge 16 ]; then -
bootscripts/contrib/lsb-v3/init.d/udev
r34a7193 rbd1b5be 30 30 boot_mesg -n "\n\nPress Enter to continue..." ${INFO} 31 31 boot_mesg "" ${NORMAL} 32 read ENTER32 $FAILURE_ACTION 33 33 /etc/rc.d/init.d/halt stop 34 34 fi … … 49 49 boot_mesg -n "\n\nPress Enter to continue..." ${INFO} 50 50 boot_mesg "" ${NORMAL} 51 read ENTER51 $FAILURE_ACTION 52 52 /etc/rc.d/init.d/halt stop 53 53 fi -
bootscripts/contrib/lsb-v3/sysconfig/rc.site
r34a7193 rbd1b5be 13 13 # Bootlogging (requires a tempfs mount) 14 14 BOOTLOG_ENAB="yes" 15 16 # Manual input is not appropriate on remote systems. Define what happens when 17 # an error is encountered that interupts the boot/shutdown proceess 18 FAILURE_ACTION="read ENTER" 15 19 16 20 # Distro Information … … 34 38 # Export varialbles so that they are inherited by the initscripts 35 39 export RC_BASE RC_FUNCTIONS NETWORK_DEVICES TEMPFS_MOUNT BOOTLOG_ENAB 40 export FAILURE_ACTION 36 41 export DISTRO DISTRO_CONTACT DISTRO_MINI 37 42 export BRACKET FAILURE INFO NORMAL SUCCESS WARNING … … 65 70 echo -e "${INFO}Press Enter to continue..." 66 71 echo -e "${NORMAL}" 67 read ENTER72 $FAILURE_ACTION 68 73 } 69 74
Note:
See TracChangeset
for help on using the changeset viewer.