commit c4d4c978d67ac0aed6a50566b28d45aa90e88811
parent bc028f382a0c21da8b9067fc207f73354f64ea5e
Author: sin <sin@2f30.org>
Date: Tue, 10 Jun 2014 13:59:47 +0100
Use ip instead of ifconfig to bring lo up
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/bin/rc.init b/fs/bin/rc.init
@@ -54,7 +54,8 @@ echo "Setting hostname to $HOSTNAME"
/bin/hostname $HOSTNAME
echo Bringing up the lo interface
-/bin/ifconfig lo up
+/bin/ip addr add 127.0.0.1/8 dev lo broadcast + scope host
+/bin/ip link set lo up
HWCLOCK_PARAMS="-s"
case $HARDWARECLOCK in