diff options
author | Andrew Gunnerson <accounts+github@chiller3.com> | 2023-04-10 13:19:30 -0400 |
---|---|---|
committer | Andrew Gunnerson <accounts+github@chiller3.com> | 2023-04-10 13:19:30 -0400 |
commit | 8eb85739c9656ba1447d61364117c9c06b0f867b (patch) | |
tree | 3344505dcf9aa4db95f0c8d2c83c063e3e3dd7fc /src/etc | |
parent | 3593ecfa51a6508b6a8b8170dde10db261ab5609 (diff) | |
download | vyos-1x-8eb85739c9656ba1447d61364117c9c06b0f867b.tar.gz vyos-1x-8eb85739c9656ba1447d61364117c9c06b0f867b.zip |
hostapd: T5151: Override ConditionFileNotEmpty
Debian's `debian/2%2.10-12` update of the hostap packaging added a
ConditionFileNotEmpty directive for `/etc/hostapd/<...>` paths, which
doesn't match the `/run/hostapd/<...>` paths that VyOS uses. This commit
updates the override file to use the proper VyOS paths.
https://salsa.debian.org/debian/wpa/-/commit/d204ceb5a2dc33db888eb55b5fee542a1005e69c
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/systemd/system/hostapd@.service.d/override.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/systemd/system/hostapd@.service.d/override.conf b/src/etc/systemd/system/hostapd@.service.d/override.conf index bb8e81d7a..926c07f94 100644 --- a/src/etc/systemd/system/hostapd@.service.d/override.conf +++ b/src/etc/systemd/system/hostapd@.service.d/override.conf @@ -1,6 +1,8 @@ [Unit] After= After=vyos-router.service +ConditionFileNotEmpty= +ConditionFileNotEmpty=/run/hostapd/%i.conf [Service] WorkingDirectory=/run/hostapd |