Menu

[r2016]: / trunk / etc / rc.d / netif  Maximize  Restore  History

Download this file

30 lines (22 with data), 458 Bytes

#!/bin/sh
# Copyright (c) 2007 Volker Theile (votdev@gmx.de)
# All rights reserved.

# PROVIDE: netif
# REQUIRE: mountcritlocal pccard sysctl
# KEYWORD: nojail

. /etc/rc.subr

name="network"
start_cmd="start_cmd"
stop_cmd=":"

start_cmd()
{
	local _result
	# Bring up network interfaces.
	eval /etc/rc.d.php/netif
	_result=$?

	# Display interfaces configured by this script
	/sbin/ifconfig

	return ${_result}
}

load_rc_config ${name}
run_rc_command "$1"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.