MErge en cours x86_64 -> trunk
[hvlinux.git] / stage2 / bootscripts / network
index 3fa69ff..7817244 100755 (executable)
@@ -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
 
@@ -38,8 +32,6 @@ case "$1" in
            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