Neue postremove hinzugefügt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_amanda@4785 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
46efc5a64d
commit
679f6a6e6b
15
tmp/postremove
Normal file
15
tmp/postremove
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if getent group backup 2>&1 >/dev/null; then
|
||||||
|
groupdel backup
|
||||||
|
fi
|
||||||
|
if getent passwd amanda 2>&1 >/dev/null; then
|
||||||
|
userdel amanda
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i -e "/^amandaidx/d" /etc/services
|
||||||
|
sed -i -e "/^amidxtape/d" /etc/services
|
||||||
|
|
||||||
|
crontab -r -u amanda
|
||||||
|
|
||||||
|
rm -r /etc/amandates /var/amanda
|
Loading…
Reference in New Issue
Block a user