oblique / create_ap

[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
BSD 2-Clause "Simplified" License
4.43k stars 998 forks source link

restart create_ap after suspend-and-resume #441

Open dlenski opened 4 years ago

dlenski commented 4 years ago

Uses the /lib/systemd/system-sleep mechanism. See https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html for how this works.

(ping #153, #167)

dlenski commented 4 years ago

For reasons that aren't clear to me, on Ubuntu 16.4 (systemd 229-4ubuntu21.27) it appears that this script is only executed if placed in /lib/systemd/system-sleep, and not if placed in /usr/lib/systemd/system-sleep

Would be good if others can confirm whether or not this issue exists on other versions of systemd.