diff options
author | Ermal <eri@pfsense.org> | 2010-12-10 12:34:06 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-10 12:34:06 +0000 |
commit | 806db0240fa060b9ceb197fbc636be8bf916d95c (patch) | |
tree | 279146ea28f467679ba011e122d17048b6122095 /config/cron/cron.inc | |
parent | d78afeef3efb084afdd8d849f7b38a837b1cce30 (diff) | |
download | pfsense-packages-806db0240fa060b9ceb197fbc636be8bf916d95c.tar.gz pfsense-packages-806db0240fa060b9ceb197fbc636be8bf916d95c.tar.bz2 pfsense-packages-806db0240fa060b9ceb197fbc636be8bf916d95c.zip |
Prepend package name to functions and use require_once instead of require.
Diffstat (limited to 'config/cron/cron.inc')
-rw-r--r-- | config/cron/cron.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cron/cron.inc b/config/cron/cron.inc index 3e6b6cea..44d1fc00 100644 --- a/config/cron/cron.inc +++ b/config/cron/cron.inc @@ -33,7 +33,7 @@ require_once("services.inc"); -function pkg_is_service_running($servicename) +function cron_pkg_is_service_running($servicename) { exec("/bin/ps ax | awk '{ print $5 }'", $psout); array_shift($psout); @@ -118,4 +118,4 @@ function cron_deinstall_command() config_unlock(); } -?>
\ No newline at end of file +?> |