From c974c0e446953f75b4e6f96d886b2b1faa8d9ae3 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:29:08 +0200 Subject: bin:create_connection -> create_connection.py --- units/suspend/suspend.pxu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'units/suspend') 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 -- cgit v1.2.3