new upstream 2.8.0
This commit is contained in:
parent
fc7f4b43c1
commit
b2b0c9995a
836 changed files with 137090 additions and 30018 deletions
19
scripts/Solaris/postremove.in
Executable file
19
scripts/Solaris/postremove.in
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Postremove script for Network UPS Tools package
|
||||
|
||||
# Remove init script from /etc/init.d - created by scripts not packaging
|
||||
|
||||
rm -f /etc/init.d/nut
|
||||
rm -f /etc/rc3.d/S90nut
|
||||
rm -f /etc/rc3.d/K10nut
|
||||
|
||||
# Remove nut group and user
|
||||
|
||||
/usr/sbin/userdel "@RUN_AS_USER@"
|
||||
|
||||
/usr/sbin/groupdel "@RUN_AS_GROUP@"
|
||||
|
||||
# Remove /var/run/nut
|
||||
|
||||
rm -rf "@PIDPATH@/nut"
|
||||
Loading…
Add table
Add a link
Reference in a new issue