Restart vsys when it is reinstalled.
[vsys.git] / vsys.spec
index 947ed1c..29398ce 100644 (file)
--- a/vsys.spec
+++ b/vsys.spec
@@ -70,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 %post
 chkconfig --add vsys
 chkconfig vsys on
+if [ "$PL_BOOTCD" != "1" ] ; then
+        service vsys restart
+fi
 
 %postun