diff options
Diffstat (limited to 'sysutils/ups-nut/pkg/DEINSTALL')
-rw-r--r-- | sysutils/ups-nut/pkg/DEINSTALL | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/ups-nut/pkg/DEINSTALL b/sysutils/ups-nut/pkg/DEINSTALL new file mode 100644 index 00000000000..1d5a3b102f0 --- /dev/null +++ b/sysutils/ups-nut/pkg/DEINSTALL @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2000/12/28 16:06:13 martin Exp $ +# + +USER="@NUT_USER@" +GROUP="@NUT_GROUP@" +USERDEL="@USERDEL@" +GROUPDEL="@GROUPDEL@" + +case "$2" in + DEINSTALL) + echo "Removing user ${USER}" + ${USERDEL} -r ${USER} + echo "Removing group ${GROUP}" + ${GROUPDEL} ${GROUP} + ;; +esac +exit 0 |