mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-08 22:58:50 +01:00
Correct uninstall scripts for Shorewall and Shorewall6
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ed1ae53c24
commit
9353788285
@ -114,7 +114,6 @@ rm -rf /var/lib/shorewall
|
||||
rm -rf /var/lib/shorewall-*.bkout
|
||||
rm -rf $PERLLIB}/Shorewall/*
|
||||
rm -rf ${LIBEXEC}/shorewall
|
||||
rm -rf /usr/share/shorewall/Macros
|
||||
rm -rf /usr/share/shorewall/configfiles/
|
||||
rm -rf /usr/share/shorewall/Samples/
|
||||
rm -rf /usr/share/shorewall/Shorewall/
|
||||
@ -126,8 +125,17 @@ rm -f /usr/share/shorewall/helpers
|
||||
rm -f /usr/share/shorewall/action*
|
||||
rm -f /usr/share/shorewall/init
|
||||
rm -rf /usr/share/shorewall-*.bkout
|
||||
rm -rf /usr/share/man/man5/shorewall*
|
||||
rm -rf /usr/share/man/man8/shorewall*
|
||||
|
||||
for f in /usr/share/man/man5/shorewall* /usr/share/man/man8/shorewall*; do
|
||||
case $f in
|
||||
shorewall6*|shorewall-lite*)
|
||||
;;
|
||||
*)
|
||||
rm -f $f
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
rm -f /etc/logrotate.d/shorewall
|
||||
rm -f /lib/systemd/system/shorewall.service
|
||||
|
||||
|
@ -113,8 +113,16 @@ rm -rf /var/lib/shorewall6-*.bkout
|
||||
rm -rf ${LIBEXEC}/shorewall6
|
||||
rm -rf /usr/share/shorewall6
|
||||
rm -rf /usr/share/shorewall6-*.bkout
|
||||
rm -rf /usr/share/man/man5/shorewall6*
|
||||
rm -rf /usr/share/man/man8/shorewall6*
|
||||
|
||||
for f in /usr/share/man/man5/shorewall6* /usr/share/man/man8/shorewall6*; do
|
||||
case $f in
|
||||
shorewall6-lite*)
|
||||
;;
|
||||
*)
|
||||
rm -f $f
|
||||
esac
|
||||
done
|
||||
|
||||
rm -f /etc/logrotate.d/shorewall6
|
||||
rm -f /lib/systemd/system/shorewall6.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user