defect 3670 - add xcatd reload to post section for xCAT-OpenStack rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -42,3 +42,13 @@ rm -rf $RPM_BUILD_ROOT
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
%post
 | 
			
		||||
%ifos linux
 | 
			
		||||
  if [ -f "/proc/cmdline" ]; then   # prevent running it during install into chroot image
 | 
			
		||||
    if [ -f $RPM_INSTALL_PREFIX0/sbin/xcatd  ]; then
 | 
			
		||||
      /etc/init.d/xcatd reload
 | 
			
		||||
    fi
 | 
			
		||||
  fi
 | 
			
		||||
%endif
 | 
			
		||||
exit 0
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user