Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] PERFORCE change 79261 by Matthew Clark for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Perforce Review Daemon <p4review AT smee.org>
  • To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
  • Subject: [SM-Commit] PERFORCE change 79261 by Matthew Clark for review
  • Date: Sun, 14 May 2006 00:05:01 +0100 (BST)

Change 79261 by matthew_clark@mclark-aussie on 2006/05/14 00:00:51

Integrate from devel

Affected files ...

... //sgl/grimoires/test/net/ppp/FINAL#5 integrate
... //sgl/grimoires/test/net/ppp/HISTORY#13 integrate

Differences ...

==== //sgl/grimoires/test/net/ppp/FINAL#5 (xtext) ====

@@ -1,8 +1,19 @@
+# Does /etc/resolv.conf already exist?
+if [ -s ${INSTALL_ROOT}/etc/resolv.conf ]
+then
+ FILE_EXISTS=1
+else
+ FILE_EXISTS=0
+fi
+
if [ "$USE_PEER_DNS" == "y" ]; then
- cat ${INSTALL_ROOT}/etc/resolv.conf >> /etc/ppp/resolv.conf &&
- mv ${INSTALL_ROOT}/etc/resolv.conf \
- ${INSTALL_ROOT}/etc/resolv.conf.`date +%Y%m%d%k%M%S | sed 's: ::g'`
&&
- ln -s /etc/ppp/resolv.conf /etc/resolv.conf
+ if [ $FILE_EXISTS ]
+ then
+ cat ${INSTALL_ROOT}/etc/resolv.conf >> /etc/ppp/resolv.conf &&
+ mv ${INSTALL_ROOT}/etc/resolv.conf \
+ ${INSTALL_ROOT}/etc/resolv.conf.`date +%Y%m%d%k%M%S | sed 's: ::g'`
+ fi &&
+ ln -s /etc/ppp/resolv.conf /etc/resolv.conf
fi &&

message "${MESSAGE_COLOR}Please edit /etc/ppp/chat/isp and insert your\n"
\
@@ -18,7 +29,11 @@
"Read the man pages on ppp and chat for more information.\n"
\
"In some cases, perhaps an internal modem on a non-standard
port,\n" \
"ln -s ttyS04 /dev/modem might work.\n"
\
- "\n"
\
- "NOTICE: Your current /etc/resolv.conf has been backed up, it's\n"
\
- "contents have been copied to /etc/ppp/resolv.conf, and has been\n"
\
- "replaced by a symbolic link to /etc/ppp/resolv.conf.\n"
+ "\n"
&&
+
+if [ $FILE_EXISTS ]
+then
+message "NOTICE: Your current ${INSTALL_ROOT}/etc/resolv.conf has been\n"
\
+ "backed up, it's contents have been copied to
/etc/ppp/resolv.conf,\n"\
+ "and has been replaced by a symbolic link.\n"
+fi

==== //sgl/grimoires/test/net/ppp/HISTORY#13 (text) ====

@@ -1,3 +1,11 @@
+2006-05-13 Matthew Clark <matthewclark AT inlesserterms.net>
+ * FINAL: Trying to enhance message, bug 10409
+
+2006-04-23 Matthew Clark <matthewclark AT inlesserterms.net>
+ * Fixed reopened bug 10409
+ * FINAL: Made handling of /etc/resolv.conf smarter (in case
+ it doesn't aready exist, the spell doesn't break)
+
2006-04-18 Matthew Clark <matthewclark AT inlesserterms.net>
* Fixed bug 10409
* FINAL: Fixed bad resolv.conf handling, added notice to



  • [SM-Commit] PERFORCE change 79261 by Matthew Clark for review, Perforce Review Daemon, 05/13/2006

Archive powered by MHonArc 2.6.24.

Top of Page