]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/localnet
7a19b6d547c808e7a4d2fa372094c9549b2f187b
2 ########################################################################
3 # Begin $rc_base/init.d/localnet
5 # Description : Loopback device
7 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org
13 ########################################################################
17 .
/var
/ipfire
/main
/settings
21 boot_mesg
"Bringing up the loopback interface..."
22 ip addr add
127.0.0.1/8 label lo dev lo
26 boot_mesg
"Setting hostname to ${HOSTNAME}..."
32 boot_mesg
"Bringing down the loopback interface..."
44 echo "Hostname is: $(hostname)"
49 echo "Usage: ${0} {start|stop|restart|status}"
54 # End $rc_base/init.d/localnet