From bf78ec73172846a96ebbf3eb4d36b7630b2de084 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/etc/init.d/xcatd --- xCAT-server/etc/init.d/xcatd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-server/etc/init.d/xcatd b/xCAT-server/etc/init.d/xcatd index 309d29e99..f92bd214d 100755 --- a/xCAT-server/etc/init.d/xcatd +++ b/xCAT-server/etc/init.d/xcatd @@ -6,8 +6,8 @@ ### BEGIN INIT INFO # Provides: xcatd -# Required-Start: $network $syslog -# Required-Stop: +# Required-Start: $network $syslog +# Required-Stop: # Should-Start: mysql # Default-Start: 3 4 5 # Default-stop: 0 1 2 6 @@ -86,7 +86,7 @@ reload) if [ -r /etc/profile.d/xcat.sh ]; then . /etc/profile.d/xcat.sh fi - export XCATRELOAD=yes + export XCATRELOAD=yes xcatd -p /var/run/xcatd.pid && $LOG_SUCCESS || $LOG_FAILURE ;; status) @@ -135,8 +135,8 @@ start) exit fi echo -n "Starting xcatd " - #/var/run/ is a symlink on /run and that's just a tmpfs mount created on boot on ubuntu. - #if there is not this directory, create first + #/var/run/ is a symlink on /run and that's just a tmpfs mount created on boot on ubuntu. + #if there is not this directory, create first if [ ! -d /var/run/xcat ];then mkdir -p /var/run/xcat fi