From 43ba7a777df3bf90330e15c27dd251140019464d Mon Sep 17 00:00:00 2001 From: persmule Date: Sat, 24 Feb 2018 14:21:44 +0800 Subject: [PATCH] fix the broken if syntax --- initrd/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/init b/initrd/init index e0c42c12..2fb29561 100755 --- a/initrd/init +++ b/initrd/init @@ -29,7 +29,7 @@ fi # bring up the ethernet; maybe should do DHCP? ifconfig lo 127.0.0.1 -if [ -f /lib/modules/e1000.ko ]; +if [ -f /lib/modules/e1000.ko ]; then insmod /lib/modules/e1000.ko ifconfig eth0 10.0.2.15 # qemu ifconfig eth0 > /dev/ttyprintk