From 5ae616d6387a4c5332b8018f204899fb6bd7c9b9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 17 Jun 2011 16:24:54 -0700 Subject: Fix force-reload-kmod initscript command implementations. I screwed this up in the recent conversion. Signed-off-by: Ben Pfaff --- xenserver/etc_init.d_openvswitch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xenserver') diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index d63884694..39d4d364e 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -44,7 +44,7 @@ case `cat /etc/xensource/network.conf` in esac start () { - set $ovs_ctl start + set $ovs_ctl ${1-start} set "$@" --system-id="$INSTALLATION_UUID" set "$@" --system-type="$PRODUCT_BRAND" set "$@" --system-version="$PRODUCT_VERSION-$BUILD_NUMBER" @@ -115,7 +115,7 @@ case $1 in $ovs_ctl version ;; force-reload-kmod) - $ovs_ctl force-reload-kmod + start force-reload-kmod ;; help) printf "openvswitch [start|stop|restart|reload|force-reload|status|version]\n" -- cgit v1.2.1