Skip to content

Commit

Permalink
autodetect wl device typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberorg committed May 19, 2020
1 parent d0ee866 commit f809133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/share/cockpit/apsetup/apsetup-cockpit
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -f /etc/NetworkManager/system-connections/ap.nmconnection ]; then
chmod 600 /etc/NetworkManager/system-connections/*
fi
chmod 600 /etc/ap.conf
sed -i -e s"@interface-name=.*@interface-name==$WL_IFACE@g" /etc/NetworkManager/system-connections/ap.nmconnection
sed -i -e s"@interface-name=.*@interface-name=$WL_IFACE@g" /etc/NetworkManager/system-connections/ap.nmconnection
sed -i -e s"@ssid=.*@ssid=$1@g" /etc/NetworkManager/system-connections/ap.nmconnection
sed -i -e s"@psk=.*@psk=$2@g" /etc/NetworkManager/system-connections/ap.nmconnection
sed -i -e s"@address1=.*@address1=$3/24,@g" /etc/NetworkManager/system-connections/ap.nmconnection
Expand Down

0 comments on commit f809133

Please sign in to comment.