summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-10 21:34:12 +0200
committerGitHub <noreply@github.com>2023-04-10 21:34:12 +0200
commit40f60ae63e0dfe7f7220f249d9b5665443c66f41 (patch)
tree3344505dcf9aa4db95f0c8d2c83c063e3e3dd7fc
parent3593ecfa51a6508b6a8b8170dde10db261ab5609 (diff)
parent8eb85739c9656ba1447d61364117c9c06b0f867b (diff)
downloadvyos-1x-40f60ae63e0dfe7f7220f249d9b5665443c66f41.tar.gz
vyos-1x-40f60ae63e0dfe7f7220f249d9b5665443c66f41.zip
Merge pull request #1948 from chenxiaolong/T5151
hostapd: T5151: Override ConditionFileNotEmpty
-rw-r--r--src/etc/systemd/system/hostapd@.service.d/override.conf2
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