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 online now
Member
 
Join Date: Jul 2012
Posts: 47
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: 296
Thanks: 23
Thanked 199 Times in 106 Posts
ryzhov_al is just starting out
Send a message via ICQ to ryzhov_al Send a message via Skype™ to ryzhov_al
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 03:05 PM.

Top 10 Stats
Top Posters* Top Thanked
RMerlin  367
thelonelycode...  167
stevech  149
L&LD  131
azazel1024  112
KGB7  76
Adamm  71
jim769  69
speedingcheet...  57
sm00thpapa  53
RMerlin  4458
stevech  271
ryzhov_al  199
TeHashX  194
RogerSC  165
L&LD  163
joegreat  104
jlake  100
PrivateJoker  93
sinshiva  87
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  29925
Old ASUS...  19671
Old Beta Version...  17288
Old 'Heartbleed'...  13535
Old Asuswrt-Merli...  8343
Old Potential...  7700
Old Linksys...  7695
Old Asus-Merlin...  6624
Old Groundhog...  6213
Old Linksys...  4671
Old Asuswrt-Merli...  215
Old Linksys...  135
Old Beta Version...  112
Old ASUS...  110
Old Potential...  98
Old Asuswrt-Merli...  78
Old Linksys...  61
Old Groundhog...  49
Old Asus router...  43
Old Managing...  38



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