X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fetc_init.d_vswitch-xapi-update;h=1c5f0798ca114e4cc5d53228e46baf386b134498;hb=7e56c85c02c547deda93ec09a589eae7e253fc58;hp=ef9bb881222cb49344da753364d5344843849c57;hpb=df9fd4a52ebe447a7c2a4b2cfc4f4a4dd7f595af;p=openvswitch diff --git a/xenserver/etc_init.d_vswitch-xapi-update b/xenserver/etc_init.d_vswitch-xapi-update index ef9bb881..1c5f0798 100755 --- a/xenserver/etc_init.d_vswitch-xapi-update +++ b/xenserver/etc_init.d_vswitch-xapi-update @@ -21,29 +21,13 @@ . /etc/init.d/functions -test -e /etc/sysconfig/vswitch && . /etc/sysconfig/vswitch -: ${VSWITCH_BASE:=/root/vswitch} -: ${VSWITCHD_CONF:=/etc/ovs-vswitchd.conf} -: ${VSWITCHD_PIDFILE:=/var/run/ovs-vswitchd.pid} -: ${VSWITCHD_PRIORITY:=-5} -: ${VSWITCHD_LOGFILE:=/var/log/ovs-vswitchd.log} -: ${VSWITCHD_FILE_LOGLEVEL:=} -: ${VSWITCHD_SYSLOG_LOGLEVEL:=WARN} -: ${VSWITCHD_MEMLEAK_LOGFILE:=} -: ${BRCOMPATD_PIDFILE:=/var/run/ovs-brcompatd.pid} -: ${BRCOMPATD_PRIORITY:=-5} -: ${BRCOMPATD_LOGFILE:=/var/log/ovs-brcompatd.log} -: ${BRCOMPATD_FILE_LOGLEVEL:=} -: ${BRCOMPATD_SYSLOG_LOGLEVEL:=WARN} -: ${BRCOMPATD_MEMLEAK_LOGFILE:=} - function do_host_call { xe host-call-plugin host-uuid="$INSTALLATION_UUID" plugin="vswitch-cfg-update" fn="update" >/dev/null } function start { if [ ! -f /etc/xensource-inventory ]; then - printf "vxwitch-xapi-update ERROR: XenSource inventory not present in /etc/xensource-inventory\n" + printf "vswitch-xapi-update ERROR: XenSource inventory not present in /etc/xensource-inventory\n" exit 1 fi source /etc/xensource-inventory @@ -61,7 +45,7 @@ case "$1" in start ;; help) - printf "vswitch [start|stop|restart]\n" + printf "vswitch-xapi-update [start|stop|restart]\n" ;; *) printf "Unknown command: $1\n"