View Single Post
  #8   (View Single Post)  
Old 9th June 2010
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Default

The script

Quote:
#!/bin/sh

. /etc/rc.subr

name="natd"
start_cmd="${name}_start"
stop_cmd=":"

natd_start()
{
echo "Loading natd.conf file..."
natd -f /etc/natd.conf
}

load_rc_config $name
run_rc_command "$1"
Reply With Quote