diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2010-05-25 19:27:30 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2010-05-25 19:27:30 +0000 |
commit | 7bd71d9bc6d6a321797350bde751887383d6ca83 (patch) | |
tree | d7db48594e27dcaccedc2811babe2d4f149cfb6c /debian/strongswan-starter.postrm | |
parent | 4e55071879aae604b7b61c93dc815a357571cd88 (diff) | |
download | vyos-strongswan-7bd71d9bc6d6a321797350bde751887383d6ca83.tar.gz vyos-strongswan-7bd71d9bc6d6a321797350bde751887383d6ca83.zip |
- Call adduser in postinst and deluser in postrm to manage "strongswan" user.
- Enable switching to this user.
- Build some more plugins.
Diffstat (limited to 'debian/strongswan-starter.postrm')
-rw-r--r-- | debian/strongswan-starter.postrm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/strongswan-starter.postrm b/debian/strongswan-starter.postrm index 18f9069b6..6e4a581ff 100644 --- a/debian/strongswan-starter.postrm +++ b/debian/strongswan-starter.postrm @@ -32,6 +32,10 @@ esac if [ "$1" = "purge" ] ; then update-rc.d ipsec remove >/dev/null + if which deluser >/dev/null 2>&1; then + deluser --quiet strongswan > /dev/null || true + fi + rm -rf /etc/ipsec.d/ rm -rf /var/run/pluto/ fi |