diff options
Diffstat (limited to 'system/ksh-openbsd/doinst.sh')
-rw-r--r-- | system/ksh-openbsd/doinst.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/system/ksh-openbsd/doinst.sh b/system/ksh-openbsd/doinst.sh index de374ed98deb3..1e26ea54a4c1c 100644 --- a/system/ksh-openbsd/doinst.sh +++ b/system/ksh-openbsd/doinst.sh @@ -1,8 +1,3 @@ -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 +if ! grep -q '/bin/pdksh' etc/shells ; then + printf "/bin/pdksh\n" >> etc/shells ; fi |