Changeset 8953f24
- Timestamp:
- Sep 24, 2006, 12:22:14 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 576135a
- Parents:
- 040521bc
- Location:
- bootscripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Changelog
r040521bc r8953f24 1 jim - September 24, 2006 2 * Changed LFS to CLFS 3 * Added Logging Feature back to the bootscripts 4 1 5 jim - September 2, 2006 2 6 * Add a check to see if the interface is already disabled 3 4 jim - September 2, 20065 7 * Add a check to see if the interface is already setup 6 8 -
bootscripts/Makefile
r040521bc r8953f24 75 75 ln -sf ../init.d/localnet ${EXTDIR}/rc.d/rcsysinit.d/S80localnet 76 76 ln -sf ../init.d/sysctl ${EXTDIR}/rc.d/rcsysinit.d/S90sysctl 77 if [ ! -f ${EXTDIR}/sysconfig/bootscripts ]; then install -m ${CONFMODE} lfs/sysconfig/bootscripts ${EXTDIR}/sysconfig/bootscripts; fi 77 78 if [ ! -f ${EXTDIR}/sysconfig/console ]; then install -m ${CONFMODE} lfs/sysconfig/console ${EXTDIR}/sysconfig/; fi 78 79 if [ ! -f ${EXTDIR}/sysconfig/createfiles ]; then install -m ${CONFMODE} lfs/sysconfig/createfiles ${EXTDIR}/sysconfig/; fi … … 132 133 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc5.d/S99paneld 133 134 ln -sf ../init.d/paneld ${EXTDIR}/rc.d/rc6.d/K01paneld 134 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq2 135 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq2 ${EXTDIR}/sysconfig/lcd; fi 135 136 136 137 install-raq3: … … 143 144 ln -sf ../init.d/setlcd ${EXTDIR}/rc.d/rc5.d/S99setlcd 144 145 ln -sf ../init.d/setlcd ${EXTDIR}/rc.d/rc6.d/K01setlcd 145 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq3 146 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd-raq3 ${EXTDIR}/sysconfig/lcd; fi 146 147 147 148 install-lcd: 148 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd 149 if [ ! -f ${EXTDIR}/sysconfig/lcd ]; then install -m ${CONFMODE} lfs/sysconfig/lcd ${EXTDIR}/sysconfig/lcd; fi 149 150 150 151 .PHONY: all create-dirs create-service-dir install install-consolelog \ -
bootscripts/lfs/init.d/functions
r040521bc r8953f24 128 128 # Reset STRING_LENGTH for next message 129 129 STRING_LENGTH="0" 130 if [ "$LOGGING" ]; then 131 boot_log "${BOOTMESG}${@}" 132 fi 130 133 } 131 134 132 135 boot_log() 133 136 { 134 # Left in for backwards compatibility 135 echo -n "" 137 if [ "$LOGGING" ]; then 138 /bin/logger -p local2.info -t bootlog "${@}" 139 else 140 return 0 141 fi 136 142 } 137 143 … … 197 203 boot_mesg -n "If you're able to track this" 198 204 boot_mesg -n " error down to a bug in one of the files provided by" 199 boot_mesg -n " the LFS book, please be so kind to inform us at"200 boot_mesg " lfs-dev@linuxfromscratch.org.\n"205 boot_mesg -n " the CLFS book, please be so kind to inform us at" 206 boot_mesg " clfs-dev@cross-lfs.org.\n" 201 207 boot_mesg_flush 202 208 if [ "$INTERACTIVE" ]; then … … 452 458 } 453 459 454 # This will ensure compatibility with previous LFS Bootscripts460 # This will ensure compatibility with previous CLFS Bootscripts 455 461 getpids() 456 462 { … … 494 500 local nicelevel="10" 495 501 496 # This will ensure compatibility with previous LFS Bootscripts502 # This will ensure compatibility with previous CLFS Bootscripts 497 503 if [ -n "${PIDFILE}" ]; then 498 504 pidfile="${PIDFILE}" … … 586 592 pidlist="" 587 593 588 # This will ensure compatibility with previous LFS Bootscripts594 # This will ensure compatibility with previous CLFS Bootscripts 589 595 if [ -n "${PIDFILE}" ]; then 590 596 pidfile="${PIDFILE}" -
bootscripts/lfs/sysconfig/bootscripts
r040521bc r8953f24 2 2 # Begin /etc/sysconfig/bootscripts 3 3 # 4 # Description : LCD Screen Control4 # Description : Bootscripts Config System 5 5 # 6 6 # Authors : … … 17 17 INTERACTIVE=y 18 18 19 # Enable/disable Logging of bootup 20 # Enable - LOGGING=y 21 # Disable - LOGGING= 22 LOGGING=y 23 19 24 # End /etc/sysconfig/bootscripts
Note:
See TracChangeset
for help on using the changeset viewer.