Code Sample |
#!/bin/sh # /etc/network/if-up.d/configure # chmod 755 to this file ifconfig eth0 up GATEWAY="`pump -i eth0 --status|grep Gateway|sed 's/.*Gateway: //g'`" route add default gw $GATEWAY # end |
Code Sample |
cd /etc/rc3.d ln -s ../init.d/networking S10networking |