projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove "fault" module.
[openvswitch]
/
debian
/
openvswitch-switch.init
diff --git
a/debian/openvswitch-switch.init
b/debian/openvswitch-switch.init
index 6db7c95b4c67578bb6eb3cccfbf814275f06635e..de8f295d0822095e5ebf48b19628b06cef8b614d 100755
(executable)
--- a/
debian/openvswitch-switch.init
+++ b/
debian/openvswitch-switch.init
@@
-206,7
+206,7
@@
case "$1" in
set -- "$@" --verbose=ANY:console:emer --verbose=ANY:syslog:err
set -- "$@" --log-file
set -- "$@" --detach --pidfile
set -- "$@" --verbose=ANY:console:emer --verbose=ANY:syslog:err
set -- "$@" --log-file
set -- "$@" --detach --pidfile
- set -- "$@" --
listen
punix:/var/run/ovsdb-server
+ set -- "$@" --
remote
punix:/var/run/ovsdb-server
set -- "$@" /etc/openvswitch-switch/conf
set -- "$@" $OVSDB_SERVER_OPTS
echo -n "Starting ovsdb-server: "
set -- "$@" /etc/openvswitch-switch/conf
set -- "$@" $OVSDB_SERVER_OPTS
echo -n "Starting ovsdb-server: "
@@
-246,8
+246,6
@@
case "$1" in
--pidfile /var/run/ovsdb-server.pid \
--exec $ovsdb_server
echo "ovsdb-server."
--pidfile /var/run/ovsdb-server.pid \
--exec $ovsdb_server
echo "ovsdb-server."
-
- unload_modules
;;
force-stop)
echo -n "Forcefully stopping ovs-vswitchd: "
;;
force-stop)
echo -n "Forcefully stopping ovs-vswitchd: "
@@
-265,8
+263,9
@@
case "$1" in
else
echo " ERROR."
fi
else
echo " ERROR."
fi
-
- unload_modules
+ ;;
+ unload)
+ unload_modules
;;
reload)
;;
;;
reload)
;;
@@
-292,7
+291,7
@@
case "$1" in
;;
*)
N=/etc/init.d/$NAME
;;
*)
N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload|status|force-stop
|unload
}" >&2
exit 1
;;
esac
exit 1
;;
esac