Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sbin/newbtconf pull up rev 1.3:



details:   https://anonhg.NetBSD.org/src/rev/5fecb6862d15
branches:  netbsd-1-5
changeset: 489227:5fecb6862d15
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Aug 23 12:40:05 2000 +0000

description:
pull up rev 1.3:
- add rc.conf.d to list of items to link

approved: thorpej

diffstat:

 sbin/newbtconf/newbtconf.sh |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r b0920ffc418d -r 5fecb6862d15 sbin/newbtconf/newbtconf.sh
--- a/sbin/newbtconf/newbtconf.sh       Wed Aug 23 12:39:43 2000 +0000
+++ b/sbin/newbtconf/newbtconf.sh       Wed Aug 23 12:40:05 2000 +0000
@@ -9,6 +9,10 @@
 fi
 dir=$1
 
+FILES="defaultdomain fstab ifconfig.* inetd.conf mrouted.conf \
+       mygate myname netstart nsswitch.conf ntp.conf rbootd.conf \
+       rc.conf rc.conf.d resolv.conf"
+
 if [ $dir = init ] ; then
        if [ -d /etc/etc.network -o -e /etc/etc/current ] ; then
                echo "Error: multi-configuration already initialized"
@@ -19,9 +23,7 @@
        mkdir -m 755 $dir
        ln -s $dir etc.current
        ln -s $dir etc.default
-       for i in fstab rc.conf netstart mrouted.conf ntp.conf resolv.conf \
-                nsswitch.conf rbootd.conf inetd.conf ifconfig.* myname \
-                mygate defaultdomain; do
+       for i in ${FILES}; do
                if [ -f $i ] ; then
                        mv $i $dir
                        ln -s etc.current/$i .



Home | Main Index | Thread Index | Old Index