Move creation of password databases before starting daemons,
otherwise the latter might fail because userids are not found.
This commit is contained in:
parent
f2f2285a6a
commit
c50cb82930
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue