From 18547b9ebc685c90274471aa938018a47af1499e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 10 Jun 2011 13:10:28 -0700 Subject: [PATCH] xenserver: Don't require confirmation to restart vswitch. Early development versions of ovs-vswitchd didn't always restart successfully, so we required confirmation if "restart" was invoked interactively. Recent versions do just fine, so drop the confirmation prompt. Signed-off-by: Ben Pfaff --- xenserver/etc_init.d_openvswitch | 35 ++------------------------------ 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index bd64cc701..6917fba85 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -266,31 +266,6 @@ function stop_daemon { fi } -function restart_approval { - if test ! -t 0; then - # Don't prompt if invoked non-interactively. - return 0 - fi - cat <