aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2/vnstat2.sh
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-01-07 14:44:47 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-01-07 14:44:47 +0545
commit059f97bf982435e7a34f908a9b524e44123095eb (patch)
tree54911dcf9845b84c2230a4bfef7ecfe13f1619c5 /config/vnstat2/vnstat2.sh
parentff8b5325d6c7c97364a6d549871a815445497b70 (diff)
downloadpfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.tar.gz
pfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.tar.bz2
pfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.zip
Improve cron rcfile stop processing
If cron.pid did not exist, an error was emitted - that could happen when a stop is done at package install, before it was ever started. If cron is stopped, cron.pid was left behind. Another attempt to stop would emit an error about the pid in cron.pid no existing. This extra checking avoids any error messages if stop is called before start, or stop is called twice.
Diffstat (limited to 'config/vnstat2/vnstat2.sh')
0 files changed, 0 insertions, 0 deletions