Changes for opnsense #16
2 changed files with 14 additions and 2 deletions
2
bin/etc-rc.conf.d-pfatt_5268AC
Normal file
2
bin/etc-rc.conf.d-pfatt_5268AC
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
pfatt_5268AC_enable="YES"
|
||||||
|
pfatt_5268AC_pid="/var/run/pfatt_5268AC.pid"
|
|
@ -1,8 +1,18 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
script_path="/root/bin/pfatt-5268AC.sh"
|
# PROVIDE: pfatt_5268AC
|
||||||
|
# REQUIRE: LOGIN
|
||||||
|
|
||||||
name=`/usr/bin/basename "${script_path}"`
|
. /etc/rc.subr
|
||||||
|
|
||||||
|
name=pfatt_5268AC
|
||||||
|
rcvar=pfatt_5268AC_enable
|
||||||
|
|
||||||
|
local_rc_config $name
|
||||||
|
|
||||||
|
: ${pfatt_5268AC_enable:="NO"}
|
||||||
|
|
||||||
|
script_path="/root/bin/pfatt_5268AC.sh"
|
||||||
|
|
||||||
rc_start() {
|
rc_start() {
|
||||||
### Lock out other start signals until we are done
|
### Lock out other start signals until we are done
|
Loading…
Reference in a new issue