microcore-mininit - stripped down Tiny Core Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
364 B

# put other system startup commands here
# configure eth0 with DHCP
/sbin/udhcpc -b -i eth0 -x hostname:$(/bin/hostname) -p /var/run/udhcpc.eth0.pid >/dev/null 2>&1 &
# alternatively configure static interface address and route
#ifconfig eth0 x.x.x.x netmask up
#route add default gw y.y.y.y
#echo 'nameserver z.z.z.z' > /etc/resolv.conf