diff options
Diffstat (limited to 'config/ifbwstats/ifbwstats.sh')
-rw-r--r-- | config/ifbwstats/ifbwstats.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/config/ifbwstats/ifbwstats.sh b/config/ifbwstats/ifbwstats.sh deleted file mode 100644 index fb7ea4fd..00000000 --- a/config/ifbwstats/ifbwstats.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -. /etc/rc.subr - -name="ifbwstats" -start_cmd="${name}_start" -stop_cmd="${name}_stop" -restart_cmd="${name}_restart" - -# called by pfSense by rc.start_packages on startup -ifbwstats_start() -{ -# ifBWStats: initialize ifbwstats_daemon.php script -/usr/local/bin/php -q /usr/local/www/ifbwstats_daemon.php & 2>/dev/null -} - -ifbwstats_stop() -{ -################################################################ -# pfSense does not call rc.stop_packages so this is not called -################################################################ -kill -INT `cat /var/run/ifbwstats.lock` -} - -ifbwstats_restart() -{ -kill -INT `cat /var/run/ifbwstats.lock` -sleep 2 -/usr/local/bin/php -q /usr/local/www/ifbwstats_daemon.php & 2>/dev/null -} - -load_rc_config $name -run_rc_command "$1"
\ No newline at end of file |