Restart vsys when it is reinstalled.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 15 Jul 2008 16:59:51 +0000 (16:59 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 15 Jul 2008 16:59:51 +0000 (16:59 +0000)
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