(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
+1 -1
View File
@@ -1,7 +1,7 @@
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
+5
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
+7 -6
View File
@@ -67,6 +67,9 @@ up()
service up /usr/sbin/$service "$@"
}
DAEMONS=/etc/rc.daemons
case $action in
start)
# Select console font.
@@ -130,16 +133,14 @@ start)
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