diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network | 1 |
1 files changed, 0 insertions, 1 deletions
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") |