blob: 34765718821b7ac3a33789223d24d3f0a99f50f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# test if the jk_chrootsh is already in /etc/shells
# this previously had _at_echo but that fails on FreeBSD
if test -w /etc/shells; then \
if ! grep /usr/sbin/jk_chrootsh /etc/shells ; then \
echo "appending /usr/sbin/jk_chroots to /etc/shells";\
echo /usr/sbin/jk_chrootsh >> /etc/shells ;\
fi \
fi
|