blob: c44743f44b26c980b09c048af63e355e0c45afed (
plain) (
tree)
|
|
if [ ! -r etc/shells ]; then
touch etc/shells
chmod 644 etc/shells
fi
if ! grep -wq /bin/dash etc/shells ; then
echo /bin/dash >> etc/shells
fi
# Compatibility for #!/bin/ash scripts:
if [ ! -r bin/ash ]; then
( cd bin ; ln -sf /bin/dash ash )
fi
if ! grep -wq /bin/ash etc/shells ; then
echo /bin/ash >> etc/shells
fi
|