From 5e77fcd36bb97fe2d98e377720f28619fe1824c8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 17 Jun 2011 13:50:28 -0700 Subject: [PATCH] Fix typo in "--force-corefiles" and "force-reload-kmod". Reported-by: Andrew Evans --- debian/openvswitch-switch.init | 2 +- xenserver/etc_init.d_openvswitch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 44ec67c0..9c7343b3 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -34,7 +34,7 @@ case $1 in start) set $ovs_ctl start --system-id=random if test X"$FORCE_COREFILES" != X; then - set "$@" --force-oorefiles="$FORCE_COREFILES" + set "$@" --force-corefiles="$FORCE_COREFILES" fi # Allow GRE traffic. diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index 941a94d2..d6388469 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -51,7 +51,7 @@ start () { set "$@" --external-id=xs-system-uuid="$INSTALLATION_UUID" set "$@" --daemon-cwd=/var/xen/openvswitch if test X"$FORCE_COREFILES" != X; then - set "$@" --force-oorefiles="$FORCE_COREFILES" + set "$@" --force-corefiles="$FORCE_COREFILES" fi if test X"$OVSDB_SERVER_PRIORITY" != X; then set "$@" --ovsdb-server-priority="$OVSDB_SERVER_PRIORITY" @@ -115,7 +115,7 @@ case $1 in $ovs_ctl version ;; force-reload-kmod) - $ovs_ctl force_reload_kmod + $ovs_ctl force-reload-kmod ;; help) printf "openvswitch [start|stop|restart|reload|force-reload|status|version]\n" -- 2.30.2