summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-03-18 09:13:26 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-03-18 09:13:26 +0100
commit1d49567af0acaca79fe9047703a0d94ebaf31064 (patch)
treed18090146674612da3f110f3ab58e4baf63bafb5 /services
parenta24839b747f152dbc7ddf8f21ebfa7aae474d13e (diff)
downloadnetctl-1d49567af0acaca79fe9047703a0d94ebaf31064.tar.gz
netctl-1d49567af0acaca79fe9047703a0d94ebaf31064.tar.xz
Proper systemd escaping
This fixes the use of all sorts of characters in profile names/interface names.
Diffstat (limited to 'services')
-rw-r--r--services/netctl-auto@.service4
-rw-r--r--services/netctl-ifplugd@.service2
-rw-r--r--services/netctl@.service6
3 files changed, 6 insertions, 6 deletions
diff --git a/services/netctl-auto@.service b/services/netctl-auto@.service
index 704c039..0ee3198 100644
--- a/services/netctl-auto@.service
+++ b/services/netctl-auto@.service
@@ -7,8 +7,8 @@ Before=network.target
Wants=network.target
[Service]
-ExecStart=/usr/bin/netctl-auto start %i
-ExecStop=/usr/bin/netctl-auto stop %i
+ExecStart=/usr/bin/netctl-auto start %I
+ExecStop=/usr/bin/netctl-auto stop %I
RemainAfterExit=yes
Type=forking
diff --git a/services/netctl-ifplugd@.service b/services/netctl-ifplugd@.service
index bc04512..796ebe3 100644
--- a/services/netctl-ifplugd@.service
+++ b/services/netctl-ifplugd@.service
@@ -5,7 +5,7 @@ BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
-ExecStart=/usr/bin/ifplugd -i %i -r /etc/ifplugd/netctl.action -bfIns
+ExecStart=/usr/bin/ifplugd -i %I -r /etc/ifplugd/netctl.action -bfIns
[Install]
WantedBy=multi-user.target
diff --git a/services/netctl@.service b/services/netctl@.service
index 9468951..74fc7d6 100644
--- a/services/netctl@.service
+++ b/services/netctl@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Networking for netctl profile %i
+Description=Networking for netctl profile %I
Documentation=man:netctl.profile(5)
Before=network.target netctl.service
Wants=network.target
@@ -7,6 +7,6 @@ Wants=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/usr/lib/network/network start %i
-ExecStop=/usr/lib/network/network stop %i
+ExecStart=/usr/lib/network/network start %I
+ExecStop=/usr/lib/network/network stop %I
KillMode=none