Hacking is where the fun is. Insert this before your mount to make sure the network is up, however, there is no guarantees that the remote server is up. But that's the case on any system.
Code: -------------------- NETWORK_WAIT=50 CNT=1 until ifconfig | grep -q Bcast do if [ $((CNT++)) -gt $NETWORK_WAIT ]; then break else sleep 0.5 fi done ### Do your mount command here ##### -------------------- piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix