|
From: <bl...@us...> - 2003-10-10 14:28:55
|
Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv31963/scripts/scripts
Modified Files:
portmap setup ypbind
Log Message:
NIS bug fixes, and setting of the NIS domainname at boot and in setup.
Index: portmap
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/portmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- portmap 10 Oct 2003 01:32:56 -0000 1.1
+++ portmap 10 Oct 2003 14:28:50 -0000 1.2
@@ -48,10 +48,9 @@
start)
echo -n "Starting $NAME: "
echo -n "($c) "
- loadproc $DAEMON -o $c
+ loadproc $DAEMON
RETVAL=$?
# [ $RETVAL = 0 ] && touch $SUBSYS
- done
;;
stop)
echo -n "Shutting down $NAME: "
Index: setup
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/setup,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- setup 6 Sep 2003 15:17:28 -0000 1.14
+++ setup 10 Oct 2003 14:28:50 -0000 1.15
@@ -232,6 +232,7 @@
JAIL "Use the chroot jails [$JAIL_ENABLE] " \
LOG "Kernel Logging level [$KERNEL_LOGLEVEL] " \
APM "Enable APM at boot time [$ENABLE_APM] " \
+ YP "NIS/YP Domain Name [$YPDOMAINNAME] " \
2> $RESULT
RETURN=$?
CONFMENU="$(cat $RESULT)"
@@ -255,6 +256,11 @@
inputbox "Syslog parameters" \
"Extra parameters to be passed to $SYSLOG_DAEMON" "$SYSLOGD_PARAM" && \
mod_config $CONFIG SYSLOGD_PARAM "$(cat $RESULT)"
+ ;;
+ YP)
+ inputbox "NIS/YP Domain Name" \
+ "Enter the NIS/YP Domain Name" "$YPDOMAINNAME" && \
+ mod_config $CONFIG YPDOMAINNAME "$(cat $RESULT)"
;;
LOG)
klogdlog
Index: ypbind
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/ypbind,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ypbind 10 Oct 2003 01:32:56 -0000 1.1
+++ ypbind 10 Oct 2003 14:28:50 -0000 1.2
@@ -23,7 +23,7 @@
# parameters
NAME="YPBIND"
-CONFIGNAME=NIS
+CONFIGNAME="YPBIND"
PARAMETER=
# source function library
|