Add a configuration to delay start xcvrd for fast-reboot (#5643)
This commit is contained in:
parent
61419f5468
commit
68464381bc
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"skip_ledd": true,
|
"skip_ledd": true,
|
||||||
"skip_fancontrol": true
|
"skip_fancontrol": true,
|
||||||
|
"delay_xcvrd": true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,11 @@ dependent_startup_wait_for=start:exited
|
|||||||
|
|
||||||
{% if not skip_xcvrd %}
|
{% if not skip_xcvrd %}
|
||||||
[program:xcvrd]
|
[program:xcvrd]
|
||||||
|
{% if delay_xcvrd %}
|
||||||
|
command=bash -c "sleep 30 && /usr/local/bin/xcvrd"
|
||||||
|
{% else %}
|
||||||
command=/usr/local/bin/xcvrd
|
command=/usr/local/bin/xcvrd
|
||||||
|
{% endif %}
|
||||||
priority=6
|
priority=6
|
||||||
autostart=false
|
autostart=false
|
||||||
autorestart=false
|
autorestart=false
|
||||||
|
Reference in New Issue
Block a user