summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init')
-rw-r--r--recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init26
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init b/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
deleted file mode 100644
index 6b8a640..0000000
--- a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# no firmware switch by default
-ENABLED="no"
-
-[ -r /etc/default/cell-radio-carrierswitch ] && source /etc/default/cell-radio-carrierswitch
-[ "$ENABLED" == "yes" ] || exit 0
-
-# It may take a couple of boots to get the APN straightened out.
-# mlinux-switch-apn is only effective for LNA3. It will only
-# take action if it detects a different SIM from the one
-# that is configured. It requires a RADIO that is active.
-# The script is executed in the background to prevent holding up the
-# boot.
-
-case $1 in
- start)
- (/usr/sbin/mlinux-switch-apn 2>&1 | logger -p daemon.notice) &
- ;;
-
- *)
- echo "Usage: $0 {start}"
- exit 2
- ;;
-esac
-