<p>sleep</p>
<p><blockquote type="cite">On Sep 13, 2009 5:42 PM, "Gwonder" <<a href="mailto:wonderbeyond@gmail.com">wonderbeyond@gmail.com</a>> wrote:<br><br> 是这样的, 我想把我添加的开机启动项按一定顺序执行, 而且一个程序执行后<br>
并不马上执行下一个, 而是先'睡'上几秒, 以避免刚刚开机时多个程序的集中轰<br>
炸,以致我一时无法干任何事情. 我想这样写我的开机启动脚本:<br>
<br>
#!/bin/bash<br>
# 开机启动脚本<br>
<br>
sleep 2 seconds # 先等2秒再开始<br>
cairo-dock<br>
sleep 3 seconds<br>
stardict -h<br>
sleep 10 seconds # 这个不急<br>
gmail-notify<br>
# ... ...<br>
谢谢!!!<br>
<font color="#888888"><br>
<br>
--<br>
ubuntu-zh mailing list<br>
<a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
</font></blockquote></p>