]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Update qresmod-refresh script
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 3 Apr 2011 16:39:17 +0000 (18:39 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 3 Apr 2011 16:39:17 +0000 (18:39 +0200)
This change was on my disk and I do not fully remember why it was
needed but here it is.

scripts/qresmod-refresh

index b6268187283e807717fa48dd8d850ce0b79f7f28..0694cf6b99181f1da9ea678244ebf05a9ebd880b 100755 (executable)
@@ -5,7 +5,7 @@ if [ $(/usr/bin/whoami) != root ] ; then
     echo Already running under sudo
     exit 1
   fi
-  /usr/bin/sudo -u root /usr/local/bin/qresmod-refresh
+  /usr/bin/sudo -u root $0
 else
   echo QresMod reFresh
 
@@ -13,7 +13,7 @@ else
   /sbin/modprobe -r rresmod
 
   /usr/bin/killall fcb
-  /usr/bin/killall fwpmngr
+  /usr/bin/killall frm_fwp
   /usr/bin/killall ortemanager
   /usr/bin/killall ortedemo
   /usr/bin/killall orteping