2 if [ ! "`grep /bin/ksh etc/shells`" ]; then
3 echo "updating /etc/shells... done."
4 sed -i "s|/bin/bash|/bin/bash\n/bin/ksh|" etc/shells
6 sed -i "s|/usr/bin/ksh|/bin/ksh|" etc/shells
9 echo ">> WARNING: /usr/bin/ksh has moved to /bin/ksh,"
10 echo ">> please update your user accounts as needed"
20 echo -ne "\nupdating /etc/shells... "
21 sed -i "s|/bin/ksh||" etc/shells