summaryrefslogtreecommitdiff
path: root/system/pdksh/doinst.sh
blob: 3eaf3ecea2edcec3f7f61d6af4e7bfa5c1f6ddad (plain)
1
2
3
4
5
6
7
8
9
10
# Add entries to /etc/shells if we need them
if [ ! -r etc/shells ] ; then
   touch etc/shells
   chmod 644 etc/shells
fi
 
if ! grep -Fqs "/bin/pdksh" etc/shells ; then
   echo "/bin/pdksh" >> etc/shells
fi