create a rpm which have rpms and scripts and during installation at least one script should execute -
something can spec file ... have created rpm when installing rpm . need invoke script part of rpm . may pre or post installation can invoke scripts part of rpm .
as @etanreisner has mentioned in rpm spec file under %post
, can mention whatever want accomplish after rpm installation completed. e.g
%post /sbin/service snmpd restart
hope helps.
Comments
Post a Comment