ÂsÄý³æ­Ó¤å³¹
tvcf
Amateur Member
 

¥[¤J¤é´Á: Dec 2000
±zªº¦í§}: taiwan
¤å³¹: 40
http://wl500g.info/showpost.php?p=6290&postcount=26

³oùØÁÙ¦³¤@¨Ç¸É¥R. ¦³¤H¦^³ø¶}¾÷«á¤£·|°»´ú¨ì¥~±µ¸Ë¸m, ¾É­P¥¢±Ñ,

The following code can be put in the post-boot script. This will delay furter booting (up to 30 seconds) in order to let the watchdog mount your HDD. Once the script detects the HDD, it will resume booting. Enjoy

¦b POST-BOOT ³o­Ó SCRIPT ùØ,¥[¤W¤U­±ªº³oµ{¦¡, ¥i¥H¦b¤@¶}¾÷«á, µ¥ 30 ¬í, µ¥¨ì WL-500G MOUNT °»´ú¨ì¤F¥~±µ¸Ë¸m¤§«á, ¦AÄ~Äò§¹¦¨¶}¾÷°Ê§@.


Code:
i=0
while [ $i -le 30 ]; do
if [ -d /tmp/harddisk/ftp_pub ] ; then
break
fi
sleep 1
i=(($i + 1))
done
ÂÂ 2005-08-13, 02:08 AM #9
¦^À³®É¤Þ¥Î¦¹¤å³¹
tvcfÂ÷½u¤¤