diff options
Diffstat (limited to 'net-mgmt/netams/files/netams.in')
-rw-r--r-- | net-mgmt/netams/files/netams.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net-mgmt/netams/files/netams.in b/net-mgmt/netams/files/netams.in index b39f5464057d..fb7d48469e38 100644 --- a/net-mgmt/netams/files/netams.in +++ b/net-mgmt/netams/files/netams.in @@ -1,11 +1,16 @@ #!/bin/sh +# # $FreeBSD$ # + # PROVIDE: netams # REQUIRE: NETWORKING # KEYWORD: shutdown -# Add the following line to /etc/rc.conf to enable netams +# Define these netams_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/netams # # netams_enable (bool): Set to "NO" by default. # Set it to "YES" to enable netams. @@ -23,10 +28,10 @@ rcvar=`set_rcvar` load_rc_config $name : ${netams_enable="NO"} -: ${netams_config="/usr/local/etc/netams.cfg"} +: ${netams_config="%%PREFIX%%/etc/netams.cfg"} pidfile="/var/run/netams.pid" -command="/usr/local/libexec/netams" +command="%%PREFIX%%/libexec/netams" command_args="-lf ${netams_config} > /dev/null &" run_rc_command "$1" |