diff options
author | Andrea Scarpino <andrea@archlinux.org> | 2009-05-19 23:09:51 +0200 |
---|---|---|
committer | Andrea Scarpino <andrea@archlinux.org> | 2009-05-19 23:09:51 +0200 |
commit | 3d4c97244f1a8e083553899d4d4b527813bea19f (patch) | |
tree | ecea1f8246733d2622c7204aa9c777874b945a24 | |
parent | d07fceaa2ce0b70ed74a14903d69ef96f698b98f (diff) | |
download | netctl-3d4c97244f1a8e083553899d4d4b527813bea19f.tar.gz netctl-3d4c97244f1a8e083553899d4d4b527813bea19f.tar.xz |
typo (fix #14761)
-rw-r--r-- | src/network | 4 |
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 |