summaryrefslogtreecommitdiff
path: root/units/suspend
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:29:08 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:29:08 +0200
commitc974c0e446953f75b4e6f96d886b2b1faa8d9ae3 (patch)
tree30536b7865db2a2b122125c4994575684b5a85d4 /units/suspend
parent6ed8308d130b5de511a1f765a1ae27eff0c46027 (diff)
bin:create_connection -> create_connection.py
Diffstat (limited to 'units/suspend')
-rw-r--r--units/suspend/suspend.pxu12
1 files changed, 6 insertions, 6 deletions
diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu
index 489136a..71029ea 100644
--- a/units/suspend/suspend.pxu
+++ b/units/suspend/suspend.pxu
@@ -687,7 +687,7 @@ user: root
environ: ROUTER_SSID ROUTER_PSK
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
+ if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link
@@ -727,7 +727,7 @@ user: root
environ: ROUTER_SSID
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID; then
+ if create_connection.py wifi $ROUTER_SSID; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link
@@ -767,7 +767,7 @@ user: root
environ: ROUTER_SSID ROUTER_PSK
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
+ if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link
@@ -807,7 +807,7 @@ user: root
environ: ROUTER_SSID
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID; then
+ if create_connection.py wifi $ROUTER_SSID; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link
@@ -847,7 +847,7 @@ user: root
environ: ROUTER_SSID ROUTER_PSK
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
+ if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link
@@ -887,7 +887,7 @@ user: root
environ: ROUTER_SSID
command:
trap "nmcli con delete id $ROUTER_SSID" EXIT
- if create_connection wifi $ROUTER_SSID; then
+ if create_connection.py wifi $ROUTER_SSID; then
connect_wireless.sh # lp:1471663
INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'`
iw dev $INTERFACE link