I would just upgrade to 6.0.0  its 99% final.

For now, you will need to edit.  I'll consider better ways to do this in
the future.

/usr/local/etc/init.d/pcp_startup.sh

goto line 644, which looks like the below, and then increase the number
of retries.  There is 10 seconds between each retry.


Code:
--------------------
    
                        RETRIES=3  # Retry network mounts, in case of power 
failure, and all devices restarting.
                        while [ $RETRIES -gt 0 ]; do
                                /bin/sh -c "mount ${MNTCMD}"
                                if [ $? -eq 0 ]; then
                                        RETRIES=0
                                        echo "${BLUE}Disk Mounted at 
/mnt/${PNT}."
                                else
                                        RETRIES=$((RETRIES-1))
                                        if [ $RETRIES -eq 0 ]; then
                                                echo "${RED}Disabling network 
mount from server at ${IP}.${NORMAL}"
                                                cp -f $NETMOUNTCONF /tmp/netconf
                                                cat /tmp/netconf | awk '/^\[/ 
{m++}{if(m=='$I')sub("NETENABLE\=yes","NETENABLE\=no")}1' > $NETMOUNTCONF
                                                LMSMOUNTFAIL="1"
                                        else
                                                echo "${RED}Disk Mount Error, 
Retrying $RETRIES more times...sleeping 10 seconds.${YELLOW}"
                                                sleep 10
                                        fi
                                fi
                        done
--------------------



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&currency_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=110642

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to