aboutsummaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/doinst.sh
blob: de374ed98deb37e3810c08ca677b36f244a47237 (plain)
1
2
3
4
5
6
7
8
if [ ! -r etc/shells ]; then
  touch etc/shells
  chmod 644 etc/shells
fi

if ! grep -q /bin/oksh etc/shells ; then
  printf %s\\n /bin/oksh >> etc/shells
fi