blob: 00bbe2b155e9afd5cb065067dc35fa2e70016aed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
ENABLED="yes"
[ -r /etc/default/radio-reset ] && source /etc/default/radio-reset
[ "$ENABLED" == "yes" ] || exit 0
case $1 in
stop)
if [ -w /sys/devices/platform/mts-io/radio-reset ] ; then
mts-io-sysfs store radio-reset 0
echo "Resetting cellular radio"
fi
;;
*)
echo "Usage: $0 {stop}"
exit 2
;;
esac
|