diff options
| -rw-r--r-- | release/picobsd/floppy.tree/etc/rc1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/picobsd/floppy.tree/etc/rc1 b/release/picobsd/floppy.tree/etc/rc1 index 2dd523228d9a..f69445f3884e 100644 --- a/release/picobsd/floppy.tree/etc/rc1 +++ b/release/picobsd/floppy.tree/etc/rc1 @@ -16,8 +16,9 @@ set_all_interfaces # Set ${ifconfig_${if}} for other interfaces. ### Now use some variables to override files in /etc ### ( IFS='' -[ -n ${host_conf} ] && echo ${host_conf} > /etc/host.conf -[ -n ${resolv_conf} ] && echo ${resolv_conf} > /etc/resolv.conf +[ -n "${host_conf}" ] && echo ${host_conf} > /etc/host.conf +[ -n "${resolv_conf}" ] && echo ${resolv_conf} > /etc/resolv.conf +[ -n "${rc_local}" ] && echo ${rc_local} > /etc/rc.local unset IFS ) @@ -43,6 +44,9 @@ mount -a -t nfs [ -n "$network_pass1_done" ] && network_pass2 [ -n "$network_pass2_done" ] && network_pass3 +[ -f /etc/syslog.conf -a -f /stand/syslogd ] && \ + { echo "Starting syslogd."; syslogd ${syslogd_flags} ; } + [ "${inetd_enable}" = "YES" -a -f /stand/inetd ] && \ { echo "Starting inetd."; inetd ${inetd_flags} ; } |
