Fix typo in "--force-corefiles" and "force-reload-kmod".
authorBen Pfaff <blp@nicira.com>
Fri, 17 Jun 2011 20:50:28 +0000 (13:50 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 17 Jun 2011 20:51:51 +0000 (13:51 -0700)
Reported-by: Andrew Evans <aevans@nicira.com>
debian/openvswitch-switch.init
xenserver/etc_init.d_openvswitch

index 44ec67c0bbf3b513e958fd0e765c39b937cd579c..9c7343b3fc5eb7c082f01122abfa1d545021ae13 100755 (executable)
@@ -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.
index 941a94d2876d6a90703dd1c020e9724fe42d5a94..d638846947666a3e96adb0428e12ffd84f241115 100755 (executable)
@@ -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"