version 1.2 | | version 1.3 |
---|
| | |
;; | | ;; |
remove|disappear) | | remove|disappear) |
# remove the 'crossfire' user if it exists | | # remove the 'crossfire' user if it exists |
grep ^crossfire: /etc/passwd >/dev/null && { | | # grep ^crossfire: /etc/passwd >/dev/null && { |
/usr/sbin/userdel crossfire > /dev/null 2>&1 | | # /usr/sbin/userdel crossfire > /dev/null 2>&1 |
} | | # } |
| | # |
# remove the 'crossfire' group if it exists | | # remove the 'crossfire' group if it exists |
grep ^crossfire: /etc/group >/dev/null || { | | # grep ^crossfire: /etc/group >/dev/null || { |
/usr/sbin/groupdel crossfire > /dev/null 2>&1 | | # /usr/sbin/groupdel crossfire > /dev/null 2>&1 |
} | | # } |
;; | | ;; |
*) | | *) |
echo "$0: incorrect arguments: $*" >&2 | | echo "$0: incorrect arguments: $*" >&2 |