diff options
Diffstat (limited to 'bootscripts')
-rwxr-xr-x | bootscripts/lfs/sbin/ifup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootscripts/lfs/sbin/ifup b/bootscripts/lfs/sbin/ifup index 2e3d88e49..744b4cea2 100755 --- a/bootscripts/lfs/sbin/ifup +++ b/bootscripts/lfs/sbin/ifup @@ -76,11 +76,11 @@ if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then exit 0 fi -for S in ${SERVICES}; do - if [ ! -n "${S}" -o ! -x "/lib/services/${S}" ]; then +for S in ${SERVICE}; do + if [ ! -x "/lib/services/${S}" ]; then MSG="\nUnable to process ${file}. Either " - MSG="${MSG}the SERVICE variable was not set " - MSG="${MSG}or the specified service cannot be executed." + MSG="${MSG}the SERVICE '${S} was not present " + MSG="${MSG}or cannot be executed." log_failure_msg "$MSG" exit 1 fi |