2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 02:08:25 +00:00

Add notation about SLE and reboot postscript

This commit is contained in:
Jarrod Johnson
2019-04-09 10:22:23 -04:00
parent 220618f450
commit 619bff27ef

View File

@@ -3,6 +3,9 @@
#(C)IBM Corp
# Lenovo(c) 2019
#
#Note that in SuSE/SLE, this script only works as a postbootscript, not as a postscript
if grep NAME /etc/os-release | egrep '(SLE|SUSE)' > /dev/null && [ -x /usr/bin/systemd-run ]; then
systemd-run --on-active=90 --timer-property=AccuracySec=10s /sbin/reboot
else