ARM-LINUX自动启动相关脚本

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jirryzhang/article/details/82715266
/home/lizt/workplace/navigation/zyWorkSpace/naviWithPlot
mount -t nfs 192.168.1.112:/home/lizt/workplace/navigation/zyWorkSpace/naviWithPlot /mnt -o nolock
mount -t nfs 192.168.1.112:/home/lizt/workplace/ /mnt -o nolock

ttyO0::respawn:/root/autoLogin -L ttyO0 115200 vt100 # GENERIC_SERIAL

file ~/autoLogin:
#!/bin/sh
/bin/login -f root

file /etc/profile:
sh ~/autoRun.sh

file ~/autoRun.sh:
#!/bin/sh
cd ~
./naviVersion43


auto eth0
iface eth0 inet static
address 192.168.1.136
netmask 255.255.255.0
gateway 192.168.1.1

猜你喜欢

转载自blog.csdn.net/jirryzhang/article/details/82715266