Update of /cvsroot/linux-decnet/dnprogs/debian
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32576
Modified Files:
dnet-common.config dnet-common.templates
Log Message:
ha! finnaly got it working!
Added question if we should configure now or later.
Still needs updates for po/
Index: dnet-common.config
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/debian/dnet-common.config,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** dnet-common.config 2 Nov 2002 19:46:51 -0000 1.4
--- dnet-common.config 4 Jan 2011 21:47:51 -0000 1.5
***************
*** 9,14 ****
db_title DECnet node configuration
- NAMEOK="false"
while [ -n "$NAMEOK" ]
do
--- 9,32 ----
db_title DECnet node configuration
+ db_get dnet-common/nodename
+ if [ "$RET" = '' ]
+ then
+ db_fset dnet-dnet-common/configure-action seen false
+ fi
+
+ # '|| true' so skiped messages do not be a problem
+ db_input high dnet-common/configure-action || true
+ db_go
+
+ if [ "$RES" != 'configure now' ]
+ then
+ echo "dnet-common: Skipping configure of DECnet"
+ db_stop
+ exit 0
+ fi
+
+
+ NAMEOK="false"
while [ -n "$NAMEOK" ]
do
Index: dnet-common.templates
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/debian/dnet-common.templates,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** dnet-common.templates 4 Jan 2011 16:17:24 -0000 1.11
--- dnet-common.templates 4 Jan 2011 21:47:51 -0000 1.12
***************
*** 39,40 ****
--- 39,61 ----
You should also edit /etc/decnet.conf to add the names and addresses of
DECnet nodes you want to communicate with.
+
+ Template: dnet-common/configure-action
+ Type: select
+ Choices: configure now, configure later, skip and leave config as it is
+ Default: skip and leave config as it is
+ _Description: Configure DECnet now:
+ You can configure your system as DECnet node now or later.
+ If you already have set up your system to use DECnet you can
+ skip this and leave config as it is.
+ .
+ If you choose to configure now this will set up your system.
+ This requires to change the MAC address of your network cards.
+ This may work directly or require reboot.
+ Please close all open connections such as ssh sessions and downloads
+ before you continue.
+ .
+ If you choose to configure later you can configure
+ with: dpkg-reconfigure dnet-common
+ .
+ If unsure select to configure later and contact your
+ system administrator.
|