FS#38132 - [netctl] add netctl-auto restart and correct usage()

Attached to Project: Arch Linux
Opened by GNA (gna) - Saturday, 14 December 2013, 11:34 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:28 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Sometimes you just want to restart your wifi because stuff got weired. Please add a restart command to netctl-auto to make this comfortable.

Also the documentation does not list start and stop commands. Please add them to the usage() block.

Thank you!
This task depends upon

Closed by  Jouke Witteveen (jouke)
Sunday, 02 March 2014, 17:28 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Sebastian Wicki is right
Comment by Sebastian Wicki (gandro) - Sunday, 02 February 2014, 16:28 GMT
The proper way to restart netctl-auto is to use "systemctl restart netctl-auto@<iface>".

As the man page of netctl-auto(1) states, the start/stop commands of netctl-auto are not supposed to be called directly by the user. The netctl-auto utility is only supposed to be used for enabling/disabling individual profiles. Instead, systemctl should be used to manage the netctl-auto service itself.

Loading...