summaryrefslogtreecommitdiff
path: root/package/owsip
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-02 14:03:28 +0000
committerJohn Crispin <john@openwrt.org>2012-06-02 14:03:28 +0000
commita4fa2cb6115815a383933ace6791e8954b2975e0 (patch)
treea26d0d82b058b57646103be015aff4563a334af9 /package/owsip
parentf4b02b91cea9aef4fe1913cd333cfe84ec7d89ff (diff)
downloadmtk-20170518-a4fa2cb6115815a383933ace6791e8954b2975e0.zip
mtk-20170518-a4fa2cb6115815a383933ace6791e8954b2975e0.tar.gz
mtk-20170518-a4fa2cb6115815a383933ace6791e8954b2975e0.tar.bz2
move /dev/vmmcX creation to a more central place
SVN-Revision: 32024
Diffstat (limited to 'package/owsip')
-rw-r--r--package/owsip/files/telephony.init17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/owsip/files/telephony.init b/package/owsip/files/telephony.init
index 9e40c41..90909e6 100644
--- a/package/owsip/files/telephony.init
+++ b/package/owsip/files/telephony.init
@@ -7,22 +7,6 @@ SERVICE_PID_FILE=/var/run/owsip.pid
. /lib/functions.sh
-load_module() {
- MODULE=`lsmod | grep vmmc`
- [ ! -z "$MODULE" ] || ( insmod vmmc ; sleep 3 )
- [ ! -c /dev/vmmc10 ] && {
- mknod /dev/vmmc10 c 122 10
- mknod /dev/vmmc11 c 122 11
- mknod /dev/vmmc12 c 122 12
- mknod /dev/vmmc13 c 122 13
- mknod /dev/vmmc14 c 122 14
- mknod /dev/vmmc15 c 122 15
- mknod /dev/vmmc16 c 122 16
- mknod /dev/vmmc17 c 122 17
- mknod /dev/vmmc18 c 122 18
- }
-}
-
relay_set () {
local cfg="$1"
local gpio value
@@ -41,7 +25,6 @@ relay_set () {
start() {
config_load telephony
config_foreach relay_set relay
- load_module
service_start /usr/bin/owsip_ua
}