(1) remove ftpd in favour of ftpd200

(2) add /etc/rc.daemons.dist, can be copied to /etc/rc.daemons
    if user wants the standard daemons to run, which are no longer run
    by default
This commit is contained in:
Ben Gras 2006-04-11 11:55:45 +00:00
parent 867e30469a
commit 103f18cb1f
4 changed files with 14 additions and 8 deletions

View file

@ -3,7 +3,7 @@
MAKE = exec make -$(MAKEFLAGS) MAKE = exec make -$(MAKEFLAGS)
BZIP2=bzip2-1.0.3 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: usage:
@echo "Usage: make all # Compile all commands" >&2 @echo "Usage: make all # Compile all commands" >&2

View file

@ -1,7 +1,7 @@
ETC=/etc/ ETC=/etc/
USRETC=/usr/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 FILES2=shadow
FILES3=daily dhcptags.conf rc FILES3=daily dhcptags.conf rc

5
etc/rc.daemons.dist Normal file
View file

@ -0,0 +1,5 @@
daemonize talkd
daemonize tcpd shell in.rshd
daemonize tcpd login in.rlogind
daemonize tcpd telnet in.telnetd
daemonize tcpd ftp in.ftpd

View file

@ -67,6 +67,9 @@ up()
service up /usr/sbin/$service "$@" service up /usr/sbin/$service "$@"
} }
DAEMONS=/etc/rc.daemons
case $action in case $action in
start) start)
# Select console font. # Select console font.
@ -130,16 +133,14 @@ start)
else else
# Standard network daemons. # Standard network daemons.
echo -n "Starting networking:" 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 then ifconfig -h 10.0.0.1
else daemonize dhcpd else daemonize dhcpd
fi fi
daemonize nonamed daemonize nonamed
daemonize talkd if [ -f "$DAEMONS" ]
daemonize tcpd shell in.rshd then . "$DAEMONS"
daemonize tcpd login in.rlogind fi
daemonize tcpd telnet in.telnetd
daemonize tcpd ftp in.ftpd
# The last daemon has been started, so close the list: # The last daemon has been started, so close the list:
echo . echo .
fi fi