diff options
Diffstat (limited to 'system/oils/doinst.sh')
-rw-r--r-- | system/oils/doinst.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/oils/doinst.sh b/system/oils/doinst.sh new file mode 100644 index 0000000000..2cf4e9f09d --- /dev/null +++ b/system/oils/doinst.sh @@ -0,0 +1,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 |