summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network b/src/network
index ba94eb6..1ac2bed 100644
--- a/src/network
+++ b/src/network
@@ -64,7 +64,7 @@ all_suspend()
[[ ! -d $STATE_DIR ]] && mkdir -p $STATE_DIR/{interfaces,profiles}
[[ ! -d $STATE_DIR/suspend ]] && mkdir $STATE_DIR/suspend
- for prof in "$(find ${STATE_DIR}/suspend/ -maxdepth 1 -type f -printf '%f\n')"; do
+ for prof in "$(find ${STATE_DIR}/profiles -maxdepth 1 -type f -printf '%f\n')"; do
cp $STATE_DIR/profiles/$prof $STATE_DIR/suspend/
profile_down $prof
done
@@ -75,7 +75,7 @@ all_suspend()
#
all_resume()
{
- for prof in "$(find ${STATE_DIR}/suspend/ -maxdepth 1 -type f -printf '%f\n')"; do
+ for prof in "$(find ${STATE_DIR}/suspend/ -maxdepth 1 -type f -printf '%f\n')"; do
profile_up $prof
rm $STATE_DIR/suspend/$prof
done