From 6c7f0c0bc9b6e2809e32bab1f11a2b4f1e2c3823 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Oct 2017 13:15:02 +0200 Subject: [PATCH 1/2] Remove useless conf_mount_{ro,rw} calls --- net/pfSense-pkg-Avahi/files/usr/local/pkg/avahi.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/pfSense-pkg-Avahi/files/usr/local/pkg/avahi.inc b/net/pfSense-pkg-Avahi/files/usr/local/pkg/avahi.inc index c09709746053..7b69c93dd40d 100644 --- a/net/pfSense-pkg-Avahi/files/usr/local/pkg/avahi.inc +++ b/net/pfSense-pkg-Avahi/files/usr/local/pkg/avahi.inc @@ -149,8 +149,7 @@ function avahi_write_rcfile() { $avahi_config = array(); } - $start = "/etc/rc.conf_mount_rw\n"; - $start .= "if [ ! -d /proc/0 ]; then\n"; + $start = "if [ ! -d /proc/0 ]; then\n"; $start .= " /bin/mkdir -p /proc\n"; $start .= " /sbin/mount -t procfs procfs /proc\n"; $start .= "fi\n"; @@ -168,7 +167,6 @@ function avahi_write_rcfile() { } } $start .= AVAHI_BASE . "/sbin/avahi-daemon -D\n"; - $start .= "/etc/rc.conf_mount_ro\n"; $stop = "/usr/bin/killall avahi-daemon >/dev/null 2>&1\n"; if (!$avahi_config['disable_dbus']) { @@ -188,7 +186,6 @@ function avahi_write_rcfile() { function avahi_sync() { global $config; - conf_mount_rw(); if (is_service_running("avahi")) { stop_service("avahi"); @@ -211,7 +208,6 @@ function avahi_sync() { } } - conf_mount_ro(); } function avahi_upgrade_config() { From 4f68409db16f04f550d312135ad300bda83458be Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 21 Oct 2017 13:16:06 +0200 Subject: [PATCH 2/2] Bump port revision --- net/pfSense-pkg-Avahi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/pfSense-pkg-Avahi/Makefile b/net/pfSense-pkg-Avahi/Makefile index 927fc87b997a..3c8cf865deb8 100644 --- a/net/pfSense-pkg-Avahi/Makefile +++ b/net/pfSense-pkg-Avahi/Makefile @@ -2,7 +2,7 @@ PORTNAME= pfSense-pkg-Avahi PORTVERSION= 1.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty