mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	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/branches/2.8@16872 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