From b6319ac80ac7ae392d3e6c265362f3e98210779e Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 12 Aug 2015 04:01:35 +0200 Subject: Fix start/stop service function names --- config/avahi/avahi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/avahi') 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"); } } -- cgit v1.2.3