mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Stop restoring gettytab.bak since it doesn't exist anymore
This commit is contained in:
parent
d8f123b893
commit
3c72e98470
7
etc/rc
7
etc/rc
@ -379,13 +379,6 @@ fi
|
||||
|
||||
echo "done."
|
||||
|
||||
# Ensure gettytab is of a sane size
|
||||
if [ `/bin/ls -la /etc/gettytab | /usr/bin/awk '{ print $5'}` -lt 512 ]; then
|
||||
echo ">>> Restoring /etc/gettytab due to unusual size"
|
||||
echo ">>> Restoring /etc/gettytab due to unusual size" | /usr/bin/logger
|
||||
/bin/cp /etc/gettytab.bak /etc/gettytab
|
||||
fi
|
||||
|
||||
# Recreate capabilities DB
|
||||
/usr/bin/cap_mkdb /etc/login.conf
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user