[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[4197]
From:       eoberlander () users ! sourceforge ! net
Date:       2010-01-30 12:30:57
Message-ID: E1NbCTZ-0004MH-PE () 74yxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 4197
          http://ipcop.svn.sourceforge.net/ipcop/?rev=4197&view=rev
Author:   eoberlander
Date:     2010-01-30 12:30:57 +0000 (Sat, 30 Jan 2010)

Log Message:
-----------
Remove second MENU default line.

Modified Paths:
--------------
    ipcop/trunk/updates/1.9.12/setup

Modified: ipcop/trunk/updates/1.9.12/setup
===================================================================
--- ipcop/trunk/updates/1.9.12/setup	2010-01-30 12:21:10 UTC (rev 4196)
+++ ipcop/trunk/updates/1.9.12/setup	2010-01-30 12:30:57 UTC (rev 4197)
@@ -35,8 +35,11 @@
 #####
 
 if [ $MACHINE == 'i486' -a $(/bin/grep -c default /boot/extlinux.conf) == 2 ]; then
-    #
-    # TODO: remove the 2nd MENU default line from extlinux.conf
+    # Remove the 2nd MENU default line from extlinux.conf
+    # First change the second occurrence to 'MAKE DELETE'...
+    sed -i -e '/default/{:1 n;/default/{s/default/DELETE/;:2 n;$!b2};b1}' \
/boot/extlinux.conf +    # ...then delete that line.
+    sed -i -e '/DELETE/d' /boot/extlinux.conf
 fi
 
 #####


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic