SYSTEMD: use generic bb file
Change-Id: Ie8f2934be96790b7b1e4cd94e8141421c64a480e
This commit is contained in:
parent
2338ba594d
commit
0789e57e89
|
|
@ -3,7 +3,7 @@ do_install_append_stm32mpcommon() {
|
|||
if ${@bb.utils.contains('MACHINE_FEATURES','watchdog','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system.conf.d/
|
||||
echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
||||
echo "RuntimeWatchdogSec=120" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
||||
echo "RuntimeWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
||||
echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in New Issue