mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-28 04:58:19 +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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user