From 7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 8 Apr 2010 15:42:49 +1200 Subject: Use fixed uid/gid to keep the numbers < 2000, above this is reserved in pfSense 2.0+. 558 was taken from the avahi entry in /usr/ports/UIDs and /usr/ports/GIDs. --- config/avahi/avahi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/avahi/avahi.inc') diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc index a06485c5..d8ab263b 100644 --- a/config/avahi/avahi.inc +++ b/config/avahi/avahi.inc @@ -56,8 +56,8 @@ function avahi_install() { } // Add needed users and groups - exec("/usr/sbin/pw useradd avahi"); - exec("/usr/sbin/pw groupadd avahi"); + exec("/usr/sbin/pw useradd avahi -u 558"); + exec("/usr/sbin/pw groupadd avahi -g 558"); // Make image RO conf_mount_ro(); -- cgit v1.2.3