Changeset 00d52bd4 for bootscripts
- Timestamp:
- Oct 27, 2006, 10:37:42 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0fd55dd
- Parents:
- a5b013ba
- Location:
- bootscripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Changelog
ra5b013ba r00d52bd4 1 jim - October 24, 2006 2 * Added IP Address of Interface on IFUP Error message 3 * Fixed Logging. Would hang because of an empty variable 4 1 5 jim - September 24, 2006 2 6 * Changed LFS to CLFS -
bootscripts/lfs/init.d/functions
ra5b013ba r00d52bd4 121 121 # Print the message to the screen 122 122 echo ${ECHOPARM} -e "${2}${1}" 123 if [ "$LOGGING" ]; then 124 DISPLAYLOG="${1}" 125 fi 123 126 124 127 } … … 136 139 { 137 140 if [ "$LOGGING" ]; then 138 /bin/logger -p local2.info -t bootlog "${ @}"141 /bin/logger -p local2.info -t bootlog "${DISPLAYLOG} ${1}" 139 142 else 140 143 return 0 -
bootscripts/lfs/sysconfig/network-devices/ifup
ra5b013ba r00d52bd4 65 65 TEST="`ip addr show ${1} | grep inet | cut -f1 -d'/' | cut -f2 -d't' | cut -f2 -d' '`" 66 66 if [ "$TEST" != "" ]; then 67 boot_mesg "Interface ${1} already configured ." ${WARNING}67 boot_mesg "Interface ${1} already configured with IP ${TEST}." ${WARNING} 68 68 echo_warning 69 69 continue
Note:
See TracChangeset
for help on using the changeset viewer.