318 B
318 B
title, createTime, tags
| title | createTime | tags | |
|---|---|---|---|
| Ubuntu startup设置开机自启命令 | 2021/09/30 |
|
Version: Ubuntu Server 20.04.3 LTS
- 建立自己的脚本,如
wlt.sh - 修改脚本执行权限
chmod 775 wlt.sh - 将脚本放入
/etc/profile.d路径下即可/etc/init.d update-rc.d wlt.sh defaults 91