new upstream 2.8.0

This commit is contained in:
lagertonne 2022-06-29 12:37:36 +02:00
parent fc7f4b43c1
commit b2b0c9995a
836 changed files with 137090 additions and 30018 deletions

19
scripts/Solaris/postremove.in Executable file
View 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"