Merge pull request #1 from persmule/clean_up_init

fix the broken if syntax
This commit is contained in:
Kyle Rankin 2018-02-24 07:16:49 -08:00 committed by GitHub
commit 3211ce71a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ fi
# bring up the ethernet; maybe should do DHCP? # bring up the ethernet; maybe should do DHCP?
ifconfig lo 127.0.0.1 ifconfig lo 127.0.0.1
if [ -f /lib/modules/e1000.ko ]; if [ -f /lib/modules/e1000.ko ]; then
insmod /lib/modules/e1000.ko insmod /lib/modules/e1000.ko
ifconfig eth0 10.0.2.15 # qemu ifconfig eth0 10.0.2.15 # qemu
ifconfig eth0 > /dev/ttyprintk ifconfig eth0 > /dev/ttyprintk