use update-rc.d to setup xcatd service in post install procedure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4d707f6c8f
commit
13cd4bff41
@ -22,7 +22,11 @@ case "$1" in
|
||||
configure)
|
||||
. /etc/profile.d/xcat.sh
|
||||
xcatconfig -i -d
|
||||
update-rc.d xcatd enable
|
||||
if [ ! -e "/etc/rc0.d/K60xcatd" ];then
|
||||
update-rc.d xcatd start 85 3 4 5 . stop 60 0 1 2 6 .
|
||||
else
|
||||
update-rc.d xcatd enable
|
||||
fi
|
||||
if [ -f /tmp/xCAT-server_upgrade.tmp ]; then
|
||||
if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image
|
||||
/etc/init.d/xcatd reload
|
||||
|
Loading…
Reference in New Issue
Block a user