"avahi-daemon.sh", "start" => $start, "stop" => $stop ) ); // Make image RO conf_mount_ro(); } function avahi_sync() { global $g, $config; avahi_stop(); avahi_write_config(); // Is package enabled? if (isset($config['installedpackages']['avahi']['config'][0]['enable']) && file_exists("/usr/local/etc/rc.d/avahi-daemon.sh")) { avahi_start(); } } ?>