修改:/etc/rc.local
在exit 0前面填写要执行的命令即可
如开机自动执行挂载U盘
root@OpenWrt:/# vi /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
mount /dev/sda1 /mnt/sda1
exit 0
修改:/etc/rc.local
在exit 0前面填写要执行的命令即可
如开机自动执行挂载U盘
root@OpenWrt:/# vi /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
mount /dev/sda1 /mnt/sda1
exit 0