X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fbootscripts%2Fnetwork;h=f42ea1fd700a35daade256ca5d7e779c126f8a45;hb=7f1a3e5d69d0b1d64619604c30243e0070dc09ad;hp=3fa69ff5b3d9e43d71ae7a403129c97e2fa2245e;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/bootscripts/network b/stage2/bootscripts/network index 3fa69ff..f42ea1f 100755 --- a/stage2/bootscripts/network +++ b/stage2/bootscripts/network @@ -20,12 +20,6 @@ if [ ! -x /sbin/ip ]; then exit ${EXIT_CODE_FAILURE} fi -# Check that the hostname program is present and executable. -if [ ! -x /bin/hostname ]; then - msg_log "*** ERROR: /bin/hostname not found." - exit ${EXIT_CODE_FAILURE} -fi - CWD=`pwd` cd /etc/sysconfig/network @@ -37,12 +31,6 @@ case "$1" in cmd_run_log_box "Ethernet Adapter <$i> init" /etc/rc.d/init.d/ifup "$i" fi done - - cmd_run_log_box "Setting hostname: ${DEFAULT_HOSTNAME}" /bin/hostname ${DEFAULT_HOSTNAME} - - if [ -n "${GATEWAY}" ]; then - cmd_run_log_box "Adding default route to gateway ${GATEWAY}" ip route add default via ${GATEWAY} - fi ;; stop)