aboutsummaryrefslogtreecommitdiff
path: root/package/avahi
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-23 11:36:30 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-23 11:38:17 +0200
commit0576f4cd5b7c681f274a63e4f9559a5ae61aa4d7 (patch)
treebe034a8b8270272ff49edf57750e9a7a3a00cf5e /package/avahi
parent9cc2be61c4857c1277ed294b003f0b611b9ebbd4 (diff)
downloadbuildroot-0576f4cd5b7c681f274a63e4f9559a5ae61aa4d7.tar.gz
buildroot-0576f4cd5b7c681f274a63e4f9559a5ae61aa4d7.tar.bz2
avahi: fixup init scripts after default user removal
Commit d3ccfa362b (avahi: run as avahi user/group instead of default) changed avahi-autoipd to run as the avahi user, but forgot to update the init script/systemd config to match. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/avahi')
-rwxr-xr-xpackage/avahi/S05avahi-setup.sh2
-rw-r--r--package/avahi/avahi_tmpfiles.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/avahi/S05avahi-setup.sh b/package/avahi/S05avahi-setup.sh
index f42a4d318f..90ccbceacc 100755
--- a/package/avahi/S05avahi-setup.sh
+++ b/package/avahi/S05avahi-setup.sh
@@ -5,7 +5,7 @@ case "$1" in
if [ ! -d /tmp/avahi-autoipd ]; then
rm -rf /tmp/avahi-autoipd
mkdir /tmp/avahi-autoipd
- chown default.default /tmp/avahi-autoipd
+ chown avahi.avahi /tmp/avahi-autoipd
fi
;;
stop) ;;
diff --git a/package/avahi/avahi_tmpfiles.conf b/package/avahi/avahi_tmpfiles.conf
index 41eb3c6fb5..f9aebdfd0d 100644
--- a/package/avahi/avahi_tmpfiles.conf
+++ b/package/avahi/avahi_tmpfiles.conf
@@ -1 +1 @@
-d /tmp/avahi-autopid 0755 default default
+d /tmp/avahi-autopid 0755 avahi avahi