168,9 → 168,9 |
sleep 1 |
|
# network |
/etc/init.d/network stop |
echo -en "\n- network(9) : " |
hostname localhost |
/etc/init.d/network stop |
[ -e /etc/sysconfig/network-scripts/default-ifcfg-eth0 ] && mv /etc/sysconfig/network-scripts/default-ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0 && echo -n "1, " |
[ -e /etc/sysconfig/network.default ] && mv /etc/sysconfig/network.default /etc/sysconfig/network && echo -n "2, " |
[ -e /etc/hosts.default ] && mv /etc/hosts.default /etc/hosts && echo -n "3, " |
205,4 → 205,5 |
done |
echo |
/etc/init.d/network start |
|
echo "Attente d'activation de la carte réseau eth0 ..." |
sleep 5 |