summaryrefslogtreecommitdiff
path: root/debian/radius-shell.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/radius-shell.postrm')
-rw-r--r--debian/radius-shell.postrm3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/radius-shell.postrm b/debian/radius-shell.postrm
index 89ae97f..d073b68 100644
--- a/debian/radius-shell.postrm
+++ b/debian/radius-shell.postrm
@@ -16,6 +16,9 @@ case "$1" in
*${radshell}*) chsh -s /bin/bash $usr ;;
esac
done
+ if [ -x /usr/sbin/remove-shell ] && [ -f /etc/shells ]; then
+ /usr/sbin/remove-shell /sbin/radius_shell
+ fi
;;
esac