[Pkg-vsquare-changes] r139 - in vde2/trunk/debian/network: if-post-down.d if-pre-up.d

filippo at alioth.debian.org filippo at alioth.debian.org
Fri Jun 13 14:57:36 UTC 2008


Author: filippo
Date: 2008-06-13 14:57:35 +0000 (Fri, 13 Jun 2008)
New Revision: 139

Modified:
   vde2/trunk/debian/network/if-post-down.d/vde2
   vde2/trunk/debian/network/if-pre-up.d/vde2
Log:
fix indentation, use spaces only


Modified: vde2/trunk/debian/network/if-post-down.d/vde2
===================================================================
--- vde2/trunk/debian/network/if-post-down.d/vde2	2008-06-13 14:54:19 UTC (rev 138)
+++ vde2/trunk/debian/network/if-post-down.d/vde2	2008-06-13 14:57:35 UTC (rev 139)
@@ -11,14 +11,14 @@
 PIDFILE="/var/run/vde2/$IFACE-plug.pid"
 CTLFILE="/var/run/vde2/$IFACE.ctl"
 if [ -f $PIDFILE ]; then
-	start-stop-daemon --stop --quiet --pidfile $PIDFILE
+    start-stop-daemon --stop --quiet --pidfile $PIDFILE
     rm -f $PIDFILE
 fi
 
 PIDFILE="/var/run/vde2/$IFACE-slirp.pid"
 if [ -f $PIDFILE ]; then
     start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-    	--oknodo --exec $SLIRPVDE
+        --oknodo --exec $SLIRPVDE
     rm -f $PIDFILE
 fi
 
@@ -26,7 +26,7 @@
 CTLDIR="/var/run/vde2/$IFACE.ctl"
 if [ -f $PIDFILE ]; then
     start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-	--oknodo --exec $VDE_SWITCH
+        --oknodo --exec $VDE_SWITCH
     rm -f $PIDFILE
 fi
 

Modified: vde2/trunk/debian/network/if-pre-up.d/vde2
===================================================================
--- vde2/trunk/debian/network/if-pre-up.d/vde2	2008-06-13 14:54:19 UTC (rev 138)
+++ vde2/trunk/debian/network/if-pre-up.d/vde2	2008-06-13 14:57:35 UTC (rev 139)
@@ -32,16 +32,16 @@
     CTLDIR="/var/run/vde2/$IFACE.ctl"
     MGMTFILE="/var/run/vde2/$IFACE.mgmt"
 
-	if [ "$METHOD" = "manual" ]; then
-		TAPOPTS=""
-	else
-		TAPOPTS="-t $IFACE"
-	fi
+    if [ "$METHOD" = "manual" ]; then
+        TAPOPTS=""
+    else
+        TAPOPTS="-t $IFACE"
+    fi
 
     start-stop-daemon --start --quiet --pidfile $PIDFILE \
         --exec $VDE_SWITCH -- \
-	    -s $CTLDIR -m 660 -g $GROUP -p $PIDFILE $TAPOPTS \
-	    -M $MGMTFILE --mgmtmode 660 -d "$@"
+        -s $CTLDIR -m 660 -g $GROUP -p $PIDFILE $TAPOPTS \
+        -M $MGMTFILE --mgmtmode 660 -d "$@"
 fi
 
 # vde2-plug <dpipe_cmd2>
@@ -50,9 +50,9 @@
     PIDFILE="/var/run/vde2/$IFACE-plug.pid"
     CTLDIR="/var/run/vde2/$IFACE.ctl"
 
-		start-stop-daemon --start --quiet --pidfile $PIDFILE \
-			--make-pidfile --background \
-			--exec $DPIPE -- $VDE_PLUG -g $GROUP -m 660 $CTLDIR = "$@"
+    start-stop-daemon --start --quiet --pidfile $PIDFILE \
+        --make-pidfile --background \
+        --exec $DPIPE -- $VDE_PLUG -g $GROUP -m 660 $CTLDIR = "$@"
 fi
 
 # vde2-slirp [-|<args>]
@@ -63,7 +63,7 @@
     CTLDIR="/var/run/vde2/$IFACE.ctl"
 
     start-stop-daemon --start --quiet --pidfile $PIDFILE \
-	--chuid $USER \
-	--exec $SLIRPVDE -- \
-	    -s $CTLDIR -m 660 -p $PIDFILE -d "$@"
+        --chuid $USER \
+        --exec $SLIRPVDE -- \
+        -s $CTLDIR -m 660 -p $PIDFILE -d "$@"
 fi




More information about the Pkg-vsquare-changes mailing list