moth/packages/p2client/service/eth0/run

13 lines
173 B
Plaintext
Raw Normal View History

2012-06-09 14:42:46 -06:00
#! /bin/sh
exec 2>&1
ip link set dev eth0 up
2012-06-11 14:37:39 -06:00
if grep 'debug' /proc/cmdline; then
ip addr add dev eth0 10.0.0.110/24
exec sleep 8d
else
exec udhcpc -f eth0
fi