]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/paks/samba/install.sh
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / src / paks / samba / install.sh
index 4b364a3f4b5d24b216c3495b039b8e671c073181..b7a2fc1cc8f6df80b7cd5e1b4d3d50e8cf7c74c6 100644 (file)
 #
 . /opt/pakfire/lib/functions.sh
 
+# If the wbpriv group does not exist yet, then create it and put squid
+# into it.
+if ! getent group wbpriv >/dev/null; then
+       groupadd -g 88 wbpriv
+       usermod -a -G wbpriv squid
+fi
+
 extract_files
 restore_backup ${NAME}
-
 /usr/local/bin/sambactrl smbstart