summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnetworking/modem/device-files/modem.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/modem/device-files/modem.sh b/networking/modem/device-files/modem.sh
index b27aadd..1a68748 100755
--- a/networking/modem/device-files/modem.sh
+++ b/networking/modem/device-files/modem.sh
@@ -81,12 +81,12 @@ modem()
echo "Remounting system partition as writable..."
mount -o rw,remount /system
- if [ "${command}" = "enable" ] ; then
+ if [ "${command}" = "on" ] ; then
echo "Enabling RIL..."
mv /system/lib/libsamsung-ril.so.disabled \
/system/lib/libsamsung-ril.so || \
echo 'RIL was already enabled.'
- elif [ "${command}" = "disable" ] ; then
+ elif [ "${command}" = "off" ] ; then
echo "Disabling RIL..."
mv /system/lib/libsamsung-ril.so \
/system/lib/libsamsung-ril.so.disabled || \