summaryrefslogtreecommitdiffstats
path: root/src/network.subr
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.subr')
-rw-r--r--src/network.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.subr b/src/network.subr
index a99363f..ecc702f 100644
--- a/src/network.subr
+++ b/src/network.subr
@@ -237,6 +237,7 @@ set_profile() {
if [[ "$1" == "up" ]]; then
. $PROFILE_DIR/$2
cp $PROFILE_DIR/$2 $STATE_DIR/profiles/
+ echo $2 > $STATE_DIR/last_profile
set_iface up $INTERFACE $2
elif [[ "$1" == "down" ]]; then