From 2d949d5ab65851bc8b6610dd4288eb8737aa9f86 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sun, 24 Jun 2012 23:52:26 +0200 Subject: Minor changes $STATE_DIR/last_profile was unused and functionality one could want from it will soon be provided by netcfg-daemon. --- src/network | 1 - 1 file changed, 1 deletion(-) (limited to 'src/network') diff --git a/src/network b/src/network index 02d74d7..8ca90ec 100644 --- a/src/network +++ b/src/network @@ -328,7 +328,6 @@ set_profile() { if [[ "$1" == "up" ]]; then INTERFACE=$(. "$PROFILE_DIR/$2"; echo "$INTERFACE") cp "$PROFILE_DIR/$2" "$STATE_DIR/profiles/" - echo "$2" > "$STATE_DIR/last_profile" set_iface up "$INTERFACE" "$2" elif [[ "$1" == "down" && -f "$STATE_DIR/profiles/$2" ]]; then # JP: skip if profile not already up INTERFACE=$(. "$STATE_DIR/profiles/$2"; echo "$INTERFACE") -- cgit v1.2.3-24-g4f1b