summaryrefslogtreecommitdiff
path: root/system/loksh/doinst.sh
blob: 84285f3b07fb9d847744f212eb5382f74b431d14 (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/loksh etc/shells ; then
  printf %s\\n /bin/loksh >> etc/shells
fi