aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2002-04-07 20:41:09 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2002-04-07 20:41:09 +0000
commit4323f7b0240b9887a59e1bf3ca6f7bedabccd3e0 (patch)
tree4f0a053983d6d63f0cf891dcb58bfc5cf029cd8f /release
parentc9627c73b302025e1ee131b97b427562d04a9daa (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/picobsd/floppy.tree/etc/rc18
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} ; }