Added rc.cd that gets executed when starting from CD.
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
|
||||
FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd
|
||||
FILES2=shadow
|
||||
FILES3=daily dhcptags.conf rc
|
||||
|
||||
|
||||
+2
-1
@@ -94,7 +94,7 @@ start)
|
||||
# start only network drivers that are in use
|
||||
for driver in rtl8139 fxp dpeth dp8390
|
||||
do
|
||||
if grep " $driver " /etc/inet.conf > /dev/null
|
||||
if grep " $driver " /etc/inet.conf > /dev/null 2>&1
|
||||
then
|
||||
eval arg=\$${driver}_arg
|
||||
up $driver "$arg"
|
||||
@@ -116,6 +116,7 @@ start)
|
||||
# (and cron unnecessary then so..)
|
||||
if [ ! -f /CD ]
|
||||
then daemonize cron
|
||||
else . /etc/rc.cd
|
||||
fi
|
||||
echo .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user