summaryrefslogtreecommitdiffstats
path: root/contrib/bash-completion
diff options
context:
space:
mode:
authorSebastian Wicki <gandro@gmx.net>2014-02-02 18:32:14 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2014-03-01 20:13:48 +0100
commit79ef3fb789375dfe4f191fd42d8cf7ff2dbb8cc5 (patch)
treeadad0a9c83ed6962deb4fdc0f71e815575c52721 /contrib/bash-completion
parentde8c80f6748f1202d5b28594f4b8195417f4e219 (diff)
downloadnetctl-79ef3fb789375dfe4f191fd42d8cf7ff2dbb8cc5.tar.gz
netctl-79ef3fb789375dfe4f191fd42d8cf7ff2dbb8cc5.tar.xz
Prohibit user invocation of netctl-auto [start|stop]
Instead of using systemctl to manage the netctl-auto service, some users try to invoke the start/stop commands of netctl-auto directly. Although this behaviour is explicitly discouraged in the man page, this seems to be a source of confusion. The changes introduced in de8c80f will cause other netctl-auto commands to fail if the netctl-auto service was not spawned by systemd. Therefore, this change emits an error message if netctl-auto [start|stop] is invoked from an interactive terminal.
Diffstat (limited to 'contrib/bash-completion')
0 files changed, 0 insertions, 0 deletions