aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/avahi/avahi.inc4
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");
}
}