You are not logged in.
Is there a way to modify the timeout waiting for a startjob on a particular device?
i.e. "a start job is running for sys-usb-ethernet.device (1m30s)"
I'm using netctl to manage my networking connections; this is all good, it works well. However, I have a USB-Ethernet adaptor which I don't use when travelling about. It's a second Ethernet adaptor which I use to serve DHCP, TFTP and NFS to a private development network (using dnsmasq). When I use my laptop "on the go", every time I boot I have to wait 1m30s for it to detect a device that I know isn't there which (as you can imagine) gets a little frustrating!
Is there any way to modify this timeout to something a little more sensible? I.e. 10seconds.... I've searched online (and through my system config fiels) but can't find anything...... I'm sure it must a simple config key somewhere!?
Thanks.
Offline
You could create a drop in conf file for the unit using:
# systemctl edit sys-usb-ethernet.device
with this content:
[UNIT]
JobTimeoutSec=10
I have not tested this though.
Another not tested idea:
# systemctl set-property sys-usb-ethernet.device SYSTEMD_READY=0
This variable can also be set in a udev rule if this command doesn't work (man systemd.device).
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline