Lines 88-93
start() {
Link Here
|
88 |
fi |
88 |
fi |
89 |
fi |
89 |
fi |
90 |
|
90 |
|
|
|
91 |
if [ "${OPD_ENABLE}" = "true" -a -x /usr/bin/opd ]; then |
92 |
if [ -n "${OPD_OPTIONS}" ]; then |
93 |
ebegin " Starting opd" |
94 |
start-stop-daemon --start --quiet \ |
95 |
--exec /usr/bin/opd -- ${OPD_OPTIONS} |
96 |
eend $? |
97 |
else |
98 |
ewarn "Not starting opd because OPD_OPTIONS not defined." |
99 |
fi |
100 |
fi |
91 |
start_uarts |
101 |
start_uarts |
92 |
eend 0 |
102 |
eend 0 |
93 |
} |
103 |
} |
Lines 96-101
stop() {
Link Here
|
96 |
ebegin "Shutting down Bluetooth" |
106 |
ebegin "Shutting down Bluetooth" |
97 |
|
107 |
|
98 |
|
108 |
|
|
|
109 |
if [ "${OPD_ENABLE}" = "true" -a -x /usr/bin/opd ]; then |
110 |
ebegin " Stopping opd" |
111 |
start-stop-daemon --stop --quiet --exec /usr/bin/opd |
112 |
eend $? |
113 |
fi |
114 |
|
99 |
if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then |
115 |
if [ "${PAND_ENABLE}" = "true" -a -x /usr/bin/pand ]; then |
100 |
ebegin " Stopping pand" |
116 |
ebegin " Stopping pand" |
101 |
start-stop-daemon --stop --quiet --exec /usr/bin/pand |
117 |
start-stop-daemon --stop --quiet --exec /usr/bin/pand |