基于ubuntu 22.04的嵌入式linux根文件系统制作(二)

文章目录

        • 1、创建rc.local
        • 2、无线网卡驱动--AP模组
        • 3、修改启动以太网所需时间
        • 4、修改ubuntu的登录通知
        • 5、修改镜像源

1、创建rc.local
sudo touch /etc/systemd/system/rc-local.service

在rc-local.service填入下面内容:

[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local
 
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
 
[Install]
WantedBy=multi-user.target

然后

sudo touch /etc/rc.local
chmod 777 /etc/rc.local

在rc.local中填入以下内容

你可能感兴趣的:(嵌入式_RK3399,linux,ubuntu,嵌入式,arm,物联网,arm64)