2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-11 15:21:29 +00:00

Remove trailing spaces in file xCAT/postscripts/xcatpostinit1.install

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 0f4e807e5c
commit aa02016b62

View File

@ -1,7 +1,7 @@
#!/bin/bash
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
# chkconfig: 345 84 59
# description: the hook for systemd service unit to run PB and report node status on diskful node
# description: the hook for systemd service unit to run PB and report node status on diskful node
# processname: xcatpostinit1
### BEGIN INIT INFO
@ -31,7 +31,7 @@ stop)
[ "$NODESTATUS" != "n" ] && /xcatpost/updateflag.awk $XCATSERVER 3002 "installstatus powering-off"
;;
start)
# check for the REBOOT specified in xcatinfo to run post boot scripts on reboot
# check for the REBOOT specified in xcatinfo to run post boot scripts on reboot
if [ -f /opt/xcat/xcatinfo ]; then
REBOOT=`grep 'REBOOT' /opt/xcat/xcatinfo |cut -d= -f2 | tr -d \'\"`
fi