(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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user