diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-03-10 10:15:41 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-03-12 14:26:22 +0100 |
commit | 002fd276527a9d14b01555f95107993ede465765 (patch) | |
tree | 57826241ebae538ad610f06c19d428c6d13fc577 /src/lib/connections/tuntap | |
parent | 9db8145b411366eea5654547c24a52c68bbc1c06 (diff) | |
download | netctl-002fd276527a9d14b01555f95107993ede465765.tar.gz netctl-002fd276527a9d14b01555f95107993ede465765.tar.xz |
Uniform translation of profiles to unit names
The unit corresponding to a profile named $p is netctl@$p.service.
We should not drop the suffix, since $p could contain a valid unit
suffix (although .service is not allowed).
We take care of this uniformly by wrapping around systemctl.
Additionally, `systemctl list-units` does not accept an '--active'
parameter, so we fix it to be consistent with `netctl list`.
Diffstat (limited to 'src/lib/connections/tuntap')
0 files changed, 0 insertions, 0 deletions