Update-rc.d 命令的用法 2019年9月23日 | Linux教程 添加启动项 将脚本放入/etc/init.d文件夹,并给予可执行权限 $ mv xx.sh /etc/init.d $ chmod +x /etc/init.d/xx.sh 设置开机自启 $ update-rc.d xx.sh defaults 删除开机自启 $ update-rc.d -f xx.sh remove See Also V2Ray 流量转发配置 LAMP 禁止 IP 直接访问 LAMP 设置反向代理 修复 LookingGlass 在 PHP7 上无法使用的问题 修复 LookingGlass 在 LAMP 上无法使用的问题 Linux update-rc.d