summaryrefslogtreecommitdiff
path: root/debian/radius-shell.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/radius-shell.postinst')
-rw-r--r--debian/radius-shell.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/radius-shell.postinst b/debian/radius-shell.postinst
index aa918d4..5c766f2 100644
--- a/debian/radius-shell.postinst
+++ b/debian/radius-shell.postinst
@@ -22,6 +22,9 @@ case "$1" in
*) chsh -s $radshell $usr ;;
esac
done
+ if [ -x /usr/sbin/add-shell ]; then
+ /usr/sbin/add-shell /sbin/radius_shell
+ fi
;;
esac