MAKE = exec make -$(MAKEFLAGS)
BZIP2=bzip2-1.0.3
-SMALLPROGRAMS=`arch` aal advent ash autil awk bc byacc cawf cron de dhcpd dis88 elle elvis ftp ftpd ftpd200 httpd ibm indent m4 make mdb mined patch pax ps reboot rlogind scripts sh simple syslogd talk talkd telnet telnetd urlget yap zmodem
+SMALLPROGRAMS=`arch` aal advent ash autil awk bc byacc cawf cron de dhcpd dis88 elle elvis ftp ftpd200 httpd ibm indent m4 make mdb mined patch pax ps reboot rlogind scripts sh simple syslogd talk talkd telnet telnetd urlget yap zmodem
usage:
@echo "Usage: make all # Compile all commands" >&2
ETC=/etc/
USRETC=/usr/etc/
-FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf
+FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf rc.daemons.dist
FILES2=shadow
FILES3=daily dhcptags.conf rc
--- /dev/null
+daemonize talkd
+daemonize tcpd shell in.rshd
+daemonize tcpd login in.rlogind
+daemonize tcpd telnet in.telnetd
+daemonize tcpd ftp in.ftpd
service up /usr/sbin/$service "$@"
}
+
+DAEMONS=/etc/rc.daemons
+
case $action in
start)
# Select console font.
else
# Standard network daemons.
echo -n "Starting networking:"
- if grep 'psip0.*default' /etc/inet.conf >/dev/null
+ if grep -s 'psip0.*default' /etc/inet.conf
then ifconfig -h 10.0.0.1
else daemonize dhcpd
fi
daemonize nonamed
- daemonize talkd
- daemonize tcpd shell in.rshd
- daemonize tcpd login in.rlogind
- daemonize tcpd telnet in.telnetd
- daemonize tcpd ftp in.ftpd
+ if [ -f "$DAEMONS" ]
+ then . "$DAEMONS"
+ fi
# The last daemon has been started, so close the list:
echo .
fi