Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] PERFORCE change 78274 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>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "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 78274 by Matthew Clark for review
  • Date: Sun, 23 Apr 2006 22:30:01 +0100 (BST)

Change 78274 by matthew_clark@mclark-aussie on 2006/04/23 22:27:05

Fixing bug 10409

Affected files ...

... //sgl/grimoires/devel/net/ppp/FINAL#6 edit
... //sgl/grimoires/devel/net/ppp/HISTORY#18 edit

Differences ...

==== //sgl/grimoires/devel/net/ppp/FINAL#6 (xtext) ====

@@ -1,8 +1,11 @@
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 [ -s ${INSTALL_ROOT}/etc/resolv.conf ]
+ 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"
\
@@ -19,6 +22,6 @@
"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"
+ "NOTICE: Your current /etc/resolv.conf (if it already existed)
has\n" \
+ "been backed up, it's contents have been copied to\n"
\
+ "/etc/ppp/resolv.conf, and has been replaced by a symbolic link.\n"
\

==== //sgl/grimoires/devel/net/ppp/HISTORY#18 (text) ====

@@ -1,3 +1,8 @@
+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 78274 by Matthew Clark for review, Perforce Review Daemon, 04/23/2006

Archive powered by MHonArc 2.6.24.

Top of Page