diff options
author | John Crispin <blogic@openwrt.org> | 2012-06-02 14:03:28 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-06-02 14:03:28 +0000 |
commit | 26572b11821c6eb2c203cbec33b690cb494c4559 (patch) | |
tree | 9b2bf887f343f2b3c9ea583c92d19e3bb8437e0e /package/owsip/files | |
parent | 2338cf02a3ce86e8a74c3585d532e19c23ccbfdf (diff) | |
download | upstream-26572b11821c6eb2c203cbec33b690cb494c4559.tar.gz upstream-26572b11821c6eb2c203cbec33b690cb494c4559.tar.bz2 upstream-26572b11821c6eb2c203cbec33b690cb494c4559.zip |
[ltq-vmmc] move /dev/vmmcX creation to a more central place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32024 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/owsip/files')
-rw-r--r-- | package/owsip/files/telephony.init | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/owsip/files/telephony.init b/package/owsip/files/telephony.init index 9e40c41f49..90909e6257 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 } |