aboutsummaryrefslogtreecommitdiffstats
path: root/packages/avahi/avahi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/avahi/avahi.inc')
-rw-r--r--packages/avahi/avahi.inc12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index 0c18a075..01e94259 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -29,6 +29,14 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+function start_avahi() {
+ exec("sh /usr/local/etc/rc.d/avahi-daemon.sh start");
+}
+
+function stop_avahi() {
+ exec("sh /usr/local/etc/rc.d/avahi-daemon.sh stop");
+}
+
function delete_avahi() {
global $g, $config;
unlink_if_exists("/usr/local/etc/rc.d/avahi-daemon.sh");
@@ -159,7 +167,7 @@ EOF;
);
// Make image RO
conf_mount_ro();
-
+ start_avahi();
}
-?> \ No newline at end of file
+?>