fix the broken if syntax

This commit is contained in:
persmule 2018-02-24 14:21:44 +08:00
parent c35f385cf7
commit 43ba7a777d

View File

@ -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