This package contains all files required for booting the lsXL linux system built through xbps. Currently it uses the NetBSD rc.d(8) system, sysvinit and modified BSD style scripts modified from Arch linux. --HG-- extra : convert_revision : 4584be26dd672ba33f9b1d76534a22d4715664ea
23 lines
380 B
Bash
Executable file
23 lines
380 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# PROVIDE: net_loopback
|
|
# REQUIRE: SERVERS
|
|
# BEFORE: checkfs
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="net_loopback"
|
|
start_cmd="loopback_start"
|
|
stop_cmd=":"
|
|
|
|
loopback_start()
|
|
{
|
|
if [ -d /sys/class/net/lo ]; then
|
|
echo -n "=> Bringing up loopback interface... "
|
|
ifconfig lo 127.0.0.1 up
|
|
show_rval
|
|
fi
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|