Commit 792e8ee 1 parent ac4df0c commit 792e8ee Copy full SHA for 792e8ee
File tree 2 files changed +25
-25
lines changed
2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,21 @@ load_kmod () {
47
47
48
48
start () {
49
49
if ovs_ctl load-kmod; then
50
- :
50
+ :
51
51
else
52
- echo " Module has probably not been built for this kernel."
53
- echo " Please install Linux 3.3 or later with openvswitch kernel support."
52
+ echo " Module has probably not been built for this kernel."
53
+ echo " Please install Linux 3.3 or later with openvswitch kernel support."
54
54
55
- if test X" $OVS_MISSING_KMOD_OK " = Xyes; then
56
- # We're being invoked by the package postinst. Do not
57
- # fail package installation just because the kernel module
58
- # is not available.
59
- exit 0
60
- fi
55
+ if test X" $OVS_MISSING_KMOD_OK " = Xyes; then
56
+ # We're being invoked by the package postinst. Do not
57
+ # fail package installation just because the kernel module
58
+ # is not available.
59
+ exit 0
60
+ fi
61
61
fi
62
62
set ovs_ctl ${1-start} --system-id=random
63
63
if test X" $FORCE_COREFILES " ! = X; then
64
- set " $@ " --force-corefiles=" $FORCE_COREFILES "
64
+ set " $@ " --force-corefiles=" $FORCE_COREFILES "
65
65
fi
66
66
set " $@ " $OVS_CTL_OPTS
67
67
" $@ " || exit $?
@@ -113,7 +113,7 @@ restart () {
113
113
case $1 in
114
114
start)
115
115
start
116
- ;;
116
+ ;;
117
117
stop | force-stop)
118
118
stop
119
119
;;
Original file line number Diff line number Diff line change @@ -30,20 +30,20 @@ case "$1" in
30
30
mv " ${conffile} .dpkg-bak" " ${conffile} "
31
31
fi
32
32
33
- # Ensure that /etc/openvswitch/conf.db links to /var/lib/openvswitch,
34
- # moving an existing file if there is one.
35
- #
36
- # Ditto for .conf.db.~lock~.
37
- for base in conf.db .conf.db.~lock~; do
38
- new=/var/lib/openvswitch/$base
39
- old=/etc/openvswitch/$base
40
- if test -f $old && test ! -e $new ; then
41
- mv $old $new
42
- fi
43
- if test ! -e $old && test ! -h $old ; then
44
- ln -s $new $old
45
- fi
46
- done
33
+ # Ensure that /etc/openvswitch/conf.db links to /var/lib/openvswitch,
34
+ # moving an existing file if there is one.
35
+ #
36
+ # Ditto for .conf.db.~lock~.
37
+ for base in conf.db .conf.db.~lock~; do
38
+ new=/var/lib/openvswitch/$base
39
+ old=/etc/openvswitch/$base
40
+ if test -f $old && test ! -e $new ; then
41
+ mv $old $new
42
+ fi
43
+ if test ! -e $old && test ! -h $old ; then
44
+ ln -s $new $old
45
+ fi
46
+ done
47
47
;;
48
48
49
49
abort-upgrade|abort-remove|abort-deconfigure)
You can’t perform that action at this time.
0 commit comments