diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-12 04:01:35 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-12 04:01:35 +0200 |
commit | b6319ac80ac7ae392d3e6c265362f3e98210779e (patch) | |
tree | 60de9073d4cc1c7330a32aa5574bfcf7526e53a9 | |
parent | 6a6b8f31be0cc15417c4a83e28bb2316c671188f (diff) | |
download | pfsense-packages-b6319ac80ac7ae392d3e6c265362f3e98210779e.tar.gz pfsense-packages-b6319ac80ac7ae392d3e6c265362f3e98210779e.tar.bz2 pfsense-packages-b6319ac80ac7ae392d3e6c265362f3e98210779e.zip |
Fix start/stop service function names
-rw-r--r-- | config/avahi/avahi.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc index d180178d..e9e75f5d 100644 --- a/config/avahi/avahi.inc +++ b/config/avahi/avahi.inc @@ -209,12 +209,12 @@ function avahi_sync() { global $config; if (is_service_running("avahi")) { - service_stop("avahi"); + stop_service("avahi"); } avahi_write_config(); // Is package enabled? if (($config['installedpackages']['avahi']['config'][0]['enable']) && file_exists("/usr/local/etc/rc.d/avahi-daemon.sh")) { - service_start("avahi"); + start_service("avahi"); } } |