Move creation of password databases before starting daemons,

otherwise the latter might fail because userids are not found.
This commit is contained in:
Luigi Rizzo 2002-07-01 21:30:39 +00:00
parent f2f2285a6a
commit c50cb82930
1 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,9 @@ mount -a -t nfs
[ -n "$network_pass1_done" ] && network_pass2
[ -n "$network_pass2_done" ] && network_pass3
pwd_mkdb -p ./master.passwd
dev_mkdb
[ -f /etc/syslog.conf -a -f /stand/syslogd ] && \
{ echo "Starting syslogd."; syslogd ${syslogd_flags} ; }
@ -53,9 +56,6 @@ mount -a -t nfs
[ "${sshd_enable}" = "YES" -a -f /stand/sshd ] && \
{ echo "Starting sshd..." ; sshd -f /etc/sshd_config ; }
pwd_mkdb -p ./master.passwd
dev_mkdb
echo ''
cat /etc/motd
exit 0