mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 14:35:26 +01:00
19 lines
307 B
Plaintext
19 lines
307 B
Plaintext
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
|
||
|
purge)
|
||
|
rm -f /opt/cis-hardening/etc/conf.d/*.cfg
|
||
|
;;
|
||
|
|
||
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||
|
# nothing to do
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
echo "$0 called with unknown argument \`$1\`'" >&2
|
||
|
exit 1
|
||
|
;;
|
||
|
esac
|