Add initramfs-login
This commit is contained in:
parent
5746c8269f
commit
e9ddee7ef1
5 changed files with 45 additions and 0 deletions
11
initramfs-login/init2
Normal file
11
initramfs-login/init2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
for mod in e100 e1000 e1000e 8139cp 8139too r8169 virtio-net; do
|
||||
modprobe "${mod}"
|
||||
done
|
||||
|
||||
ip link set eth0 up && udhcpc > /dev/null 2> /dev/null &
|
||||
|
||||
/bin/login
|
||||
|
||||
reboot -f
|
||||
Reference in a new issue