SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-06-2013, 05:49 AM
Fab30 Fab30 is offline
Member
 
Join Date: Jul 2012
Posts: 51
Thanks: 5
Thanked 0 Times in 0 Posts
Fab30 is just starting out
Default minidlna - delay start

Hi, know how i can delay minidlna service start, while router mount all devices and SD card? Its take around 10 sec. THX
Reply With Quote
  #2  
Old 02-06-2013, 07:13 AM
ryzhov_al's Avatar
ryzhov_al ryzhov_al is offline
Very Senior Member
 
Join Date: Jul 2012
Location: Smolensk, Russia
Posts: 363
Thanks: 36
Thanked 249 Times in 128 Posts
ryzhov_al is just starting out
Default

Which one? Minidlna from firmware or from Entware\Optware?

Please note that /jffs/script/services-start will be started after last USB-partition is mounted, it ignores SD Card partitions. If you want to delay minidlna start till SD Card will be mounted, you may add:
Quote:
i=0
# Wait up to 15 seconds to make sure SDCARD partition is mounted
while [ $i -le 15 ]
do
if [ -d /tmp/mnt/SDCARD/SomeFolder ]
then
break
fi
sleep 1
i=`expr $i + 1`
done
/opt/etc/init.d/rc.unslung start
to /jffs/script/services-start script.
__________________
The Entware. A modern Optware replacement.
Reply With Quote
The Following User Says Thank You to ryzhov_al For This Useful Post:
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 11:24 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  341
sm00thpapa  232
stevech  185
azazel1024  155
KGB7  138
htismaqe  85
jim769  83
philmiami  74
AcostaJA  69
ColinTaylor  59
RMerlin  5085
stevech  315
ryzhov_al  249
TeHashX  209
RogerSC  187
L&LD  186
joegreat  123
jlake  122
sinshiva  111
sfx2000  111
Most Viewed Threads* Hottest Threads*
Old ASUS RT-N66U...  23854
Old NETGEAR...  13012
Old Switched...  7536
Old 3.0.0.4.376.1...  6751
Old NEW RT-AC68R...  6591
Old ASUS...  6002
Old ASUS RTAC68U...  3511
Old Netgear...  3304
Old ASUS...  3145
Old N66U daily...  2848
Old ASUS RT-N66U...  169
Old NETGEAR...  161
Old Switched...  65
Old NEW RT-AC68R...  56
Old ASUS...  51
Old N66U daily...  47
Old ASUS RTAC68U...  41
Old Which router...  41
Old Netgear...  41
Old ASUS...  38


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.