diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-17 14:22:48 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-17 14:22:48 -0200 |
commit | 82c22fc8668e9a706c0459a164c0a571128993b7 (patch) | |
tree | 0c300c462d239ebfe0f67d67602901f56ef79474 /config/ifbwstats/ifbwstats.sh | |
parent | 777deecd23f52d00e32a99a8f24e88e6afa5ff49 (diff) | |
download | pfsense-packages-82c22fc8668e9a706c0459a164c0a571128993b7.tar.gz pfsense-packages-82c22fc8668e9a706c0459a164c0a571128993b7.tar.bz2 pfsense-packages-82c22fc8668e9a706c0459a164c0a571128993b7.zip |
Remove ifBWStats, it's broken since 2010
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 |