aboutsummaryrefslogtreecommitdiff
path: root/system/oils/doinst.sh
blob: 2cf4e9f09d6c75d7a349553a750026ed39d3d496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if [ ! -r etc/shells ]; then
  touch etc/shells
  chmod 644 etc/shells
fi

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

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