koskur.sh 210 B

123456789
  1. #!/bin/sh
  2. if [ -z "`getent group avahi`" ]; then
  3. groupadd -fg 84 avahi
  4. fi
  5. if [ -z "`getent passwd avahi`" ]; then
  6. useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 -g avahi -s /bin/false avahi
  7. fi