[Lunar-commits] r25957 - moonbase/trunk/net/net-tools

Jannis Pohlmann jannis at lunar-linux.org
Mon Sep 24 18:46:34 CEST 2007


Author: jannis
Date: 2007-09-24 18:46:33 +0200 (Mon, 24 Sep 2007)
New Revision: 25957

Added:
   moonbase/trunk/net/net-tools/ifdown
   moonbase/trunk/net/net-tools/ifup
Modified:
   moonbase/trunk/net/net-tools/BUILD
   moonbase/trunk/net/net-tools/DETAILS
Log:
Add alias scripts ifdown, ifup. Required by ifplugd and missing on the 1.6.2 beta iso.

Modified: moonbase/trunk/net/net-tools/BUILD
===================================================================
--- moonbase/trunk/net/net-tools/BUILD	2007-09-23 23:48:52 UTC (rev 25956)
+++ moonbase/trunk/net/net-tools/BUILD	2007-09-24 16:46:33 UTC (rev 25957)
@@ -20,6 +20,9 @@
 
   prepare_install &&
 
-  make BASEDIR=/ install
+  make BASEDIR=/ install &&
+
+  install -m 755 $SCRIPT_DIRECTORY/ifup   /sbin &&
+  install -m 755 $SCRIPT_DIRECTORY/ifdown /sbin
   
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/net/net-tools/DETAILS
===================================================================
--- moonbase/trunk/net/net-tools/DETAILS	2007-09-23 23:48:52 UTC (rev 25956)
+++ moonbase/trunk/net/net-tools/DETAILS	2007-09-24 16:46:33 UTC (rev 25957)
@@ -18,7 +18,7 @@
         WEB_SITE=http://www.tazenda.demon.co.uk/phil/net-tools
       MAINTAINER=kc8apf at kc8apf.net
          ENTERED=20010922
-         UPDATED=20070405
+         UPDATED=20070924
            SHORT="net-tools contains essential tools for networking."
 LUNAR_RESTART_SERVICES=off
 cat << EOF

Added: moonbase/trunk/net/net-tools/ifdown
===================================================================
--- moonbase/trunk/net/net-tools/ifdown	                        (rev 0)
+++ moonbase/trunk/net/net-tools/ifdown	2007-09-24 16:46:33 UTC (rev 25957)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+INTERFACE="$1"
+shift
+ifconfig $INTERFACE down $*

Added: moonbase/trunk/net/net-tools/ifup
===================================================================
--- moonbase/trunk/net/net-tools/ifup	                        (rev 0)
+++ moonbase/trunk/net/net-tools/ifup	2007-09-24 16:46:33 UTC (rev 25957)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+INTERFACE="$1"
+shift
+ifconfig $INTERFACE up $*



More information about the Lunar-commits mailing list