iglunix/init/init.d/net

5 lines
96 B
Text
Raw Normal View History

2021-04-17 10:52:02 +00:00
#!/bin/sh
ip link set lo up
ip link set eth0 up
udhcpc -i eth0 -x hostname:$(cat /etc/hostname)