diff options
author | thompsa <andy@fud.org.nz> | 2010-04-08 15:42:49 +1200 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-04-08 15:42:49 +1200 |
commit | 7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29 (patch) | |
tree | 263d36e76057c630d48f5f41d1f060c4d342c5c9 /config/avahi/avahi.inc | |
parent | 01bfd5a0ef9a057149f933b6fcbea377cfc32687 (diff) | |
download | pfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.tar.gz pfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.tar.bz2 pfsense-packages-7b1f60f4e1420aaf5038a945b5997f1b4d4d3d29.zip |
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.
Diffstat (limited to 'config/avahi/avahi.inc')
-rw-r--r-- | config/avahi/avahi.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |