basic (INSECURE!) init system

This commit is contained in:
aheirman 2021-04-17 10:52:02 +00:00
parent 9a3667b66b
commit d4a927cb22
6 changed files with 52 additions and 2 deletions

4
init/init.d/net Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
ip link set lo up
ip link set eth0 up
udhcpc -i eth0 -x hostname:$(cat /etc/hostname)