From: Ben Pfaff Date: Fri, 17 Jun 2011 20:50:28 +0000 (-0700) Subject: Fix typo in "--force-corefiles" and "force-reload-kmod". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e77fcd36bb97fe2d98e377720f28619fe1824c8;p=openvswitch Fix typo in "--force-corefiles" and "force-reload-kmod". Reported-by: Andrew Evans --- 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"