#!/bin/sh set -e # Remove shutdown and reboot links; this init script does not need them. if dpkg --compare-versions "$2" lt "1.4.3-18"; then rm -f /etc/rc0.d/K20festival /etc/rc6.d/K20festival fi # Create festival user if it doesn't already exist. if ! getent passwd festival >/dev/null; then adduser festival --quiet --system --ingroup audio --no-create-home --home /nonexistent fi