-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Scimone
committed
Jun 18, 2019
1 parent
f584f0c
commit 96b3bf3
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|