领域云服务威联通 lxc 容器中安装 dockerdocs2019-12-16_设置开机启动On this page2019-12-16_设置开机启动title: 设置自定义程序开机启动 date: 2019-12-16 21:06:53 Intel 和 AMD 的 NAS: 先在后台设置启动脚本,然后执行下列命令,将启动脚本挂载到本地: mount $(/sbin/hal_app --get_boot_pd port_id=0)6 /tmp/config 编辑挂载的文件 vi /tmp/config/autorun.sh 设置脚本执行权限 chmod +x /tmp/config/autorun.sh 卸载文件 umount /tmp/config 参考 https://wiki.qnap.com/wiki/Running_Your_Own_Application_at_Startup