This repository has been archived on 2024-03-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
adlin/initramfs-login/init2
2018-02-23 20:30:29 +01:00

11 lines
184 B
Bash

#!/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