szpunk

run after system init on tomato

Nov 7th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #等待系统启动完成后执行
  2. A=1
  3. while [ $A -gt 0 ] ; do
  4. if [ -f /var/notice/sysup ] ; then sleep 2; break; fi
  5. sleep 1
  6. done
  7. mount -o bind /tmp/mnt/optware/opt /opt
Advertisement
Add Comment
Please, Sign In to add comment