Skip to content

Commit

Permalink
fixed errant slash
Browse files Browse the repository at this point in the history
  • Loading branch information
John Scimone committed Jun 18, 2019
1 parent f584f0c commit 96b3bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_wlan_and_AP_modes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ EOF
exec_cmd "cp /lib/systemd/system/[email protected] /etc/systemd/system/[email protected]"
exec_cmd "sed -i 's/Requires=sys-subsystem-net-devices-%i.device/Requires=sys-subsystem-net-devices-wlan0.device/' /etc/systemd/system/[email protected]"
exec_cmd "sed -i 's/After=sys-subsystem-net-devices-%i.device/After=sys-subsystem-net-devices-wlan0.device/' /etc/systemd/system/[email protected]"
exec_cmd "sed -i '/After=sys-subsystem-net-devices-wlan0.device/a [email protected]/' /etc/systemd/system/[email protected]"
exec_cmd "sed -i '/After=sys-subsystem-net-devices-wlan0.device/a [email protected]' /etc/systemd/system/[email protected]"
exec_cmd "sed -i '/Type=simple/a ExecStartPre=/sbin/iw dev wlan0 interface add ap0 type __ap' /etc/systemd/system/[email protected]"
exec_cmd "sed -i '/ExecStart=/a ExecStopPost=/sbin/iw dev ap0 del' /etc/systemd/system/[email protected]"
exec_cmd "systemctl daemon-reload"
Expand Down

0 comments on commit 96b3bf3

Please sign in to comment.