From cfe12efb5ec9586dab6961f141d52b103bd8b1d1 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 22 Nov 2010 13:57:13 +0000 Subject: Meta: Recipe Reogranization This is the next stage of recipe reorganization, in this stage many recipes where moved to a new meta-demoapps layer since this is more appropriate for demo usage then the core. Additional some recipes were moved to meta-extras to indicate they may be depercated at a future time. A number of recipes were modified since dependencies need to be corrected. Signed-off-by: Saul Wold --- .../network-suspend-scripts/ifupdown | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown (limited to 'meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown') diff --git a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown b/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown deleted file mode 100644 index d458da6866..0000000000 --- a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Unloads/loads all interface that are up at time of suspend - -if [ "$1" = suspend ]; then - rm -f /var/run/ifstate-suspend - rm -f /var/run/ifstate-old - cp /var/run/ifstate /var/run/ifstate-old - cat /var/run/ifstate-old | ( - IFS="=" - while read IFACE LOGICAL; do - ifdown $IFACE - echo "$IFACE=$LOGICAL" >>/var/run/ifstate-suspend - done - rm -f /var/run/ifstate-old - ) -elif [ "$1" = resume ] && [ "$2" != standby ] && [ -f /var/run/ifstate-suspend ]; then - cat /var/run/ifstate-suspend | ( - while read LINE; do - ifup $LINE - done - ) - rm -f /var/run/ifstate-suspend -fi - -: exit 0 - -- cgit v1.2.3-54-g00ecf