From 619bff27ef16e20dcd8574efa1629ca8fef3bef7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 9 Apr 2019 10:22:23 -0400 Subject: [PATCH] Add notation about SLE and reboot postscript --- xCAT/postscripts/reboot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT/postscripts/reboot b/xCAT/postscripts/reboot index 8df236b17..fbe50066f 100755 --- a/xCAT/postscripts/reboot +++ b/xCAT/postscripts/reboot @@ -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