FreeNAS Code
This project has moved to github - see https://github.com/freenas
Brought to you by:
cochard,
mattolander
#!/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"