rename geniwrapper init.d script as geni, isolate and chkconfig-enable
[sfa.git] / geniwrapper.spec
index c1e9943..3a9c2ae 100644 (file)
@@ -46,6 +46,8 @@ make install DESTDIR="$RPM_BUILD_ROOT"
 # hack to add installed files to the package
 python -c "print '\n'.join(['%s*'%i.strip() for i in open('GENI_INSTALLED_FILES').readlines() if not i.strip().endswith('.pyc')])" |uniq > GENI_INSTALLED_FILES.all
 
+%post
+chkconfig --add geni
 
 %clean
 rm -rf $RPM_BUILD_ROOT