+%post
+chkconfig --add conf_files
+chkconfig conf_files on
+chkconfig --add nm
+chkconfig nm on
+service nm restart
+
+
+%preun
+# 0 = erase, 1 = upgrade
+if [ $1 -eq 0 ] ; then
+ chkconfig nm off
+ chkconfig --del nm
+ chkconfig conf_files off
+ chkconfig --del conf_files
+fi
+