2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-28 21:18:32 +00:00

Extend reboot timer on SUSE

The SUSE postscripts run a long time before installer
completes, extend the timeout to facilitate that completion.
This commit is contained in:
Jarrod Johnson
2019-02-28 10:35:32 -05:00
parent ef12180e06
commit 6785eb3adc

View File

@@ -1,9 +1,13 @@
#!/bin/sh
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#(C)IBM Corp
# Lenovo(c) 2019
#
(sleep 75;/sbin/reboot) &
if grep NAME /etc/os-release | egrep '(SLE|SUSE)' > /dev/null; then
(sleep 180;/sbin/reboot) &
else
(sleep 75;/sbin/reboot) &
fi
exit 0