summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.default4
-rw-r--r--recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init2
-rw-r--r--recipes-core/multitech/cell-radio-carrierswitch_1.0.bb10
3 files changed, 4 insertions, 12 deletions
diff --git a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.default b/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.default
index 42bc1b0..7128721 100644
--- a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.default
+++ b/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.default
@@ -1,5 +1,5 @@
-# set to "yes" to enable cell-radio-fwswitch on boot
-ENABLED="no"
+# set to "no" to disable cell-radio-fwswitch on boot
+ENABLED="yes"
# The default timeout is 60 seconds.
# It depends on how long your radio takes to get ready.
diff --git a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init b/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
index 32b8d0d..6b8a640 100644
--- a/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
+++ b/recipes-core/multitech/cell-radio-carrierswitch/cell-radio-carrierswitch.init
@@ -3,7 +3,7 @@
# no firmware switch by default
ENABLED="no"
-[ -r /etc/default/cell-radio-fwswitch ] && source /etc/default/cell-radio-fwswitch
+[ -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.
diff --git a/recipes-core/multitech/cell-radio-carrierswitch_1.0.bb b/recipes-core/multitech/cell-radio-carrierswitch_1.0.bb
index 6302779..0220dba 100644
--- a/recipes-core/multitech/cell-radio-carrierswitch_1.0.bb
+++ b/recipes-core/multitech/cell-radio-carrierswitch_1.0.bb
@@ -15,19 +15,11 @@ SRC_URI = "\
file://cell-radio-carrierswitch.init \
"
-do_install_mtcap() {
+do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/cell-radio-carrierswitch.init ${D}${sysconfdir}/init.d/cell-radio-carrierswitch
install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/cell-radio-carrierswitch.default ${D}${sysconfdir}/default/cell-radio-carrierswitch
- sed -i 's/ENABLED="no"/ENABLED="yes"/g' ${D}${sysconfdir}/default/cell-radio-carrierswitch
}
-do_install_mtcdt() {
- install -d ${D}${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/cell-radio-carrierswitch.init ${D}${sysconfdir}/init.d/cell-radio-carrierswitch
-
- install -d ${D}${sysconfdir}/default
- install -m 0644 ${WORKDIR}/cell-radio-carrierswitch.default ${D}${sysconfdir}/default/cell-radio-carrierswitch
-}