Skip to content
  • Sebastian Wicki's avatar
    Prohibit user invocation of netctl-auto [start|stop] · 79ef3fb7
    Sebastian Wicki authored and Jouke Witteveen's avatar Jouke Witteveen committed
    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 de8c80f6 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.
    79ef3fb7