QNAP 添加启动项
在系统设置->硬件
中打开允许 autorun.sh
运行选项,并且编辑该文件。
1 | mount $(/sbin/hal_app --get_boot_pd port_id=0)6 /tmp/config |
必须添加 shebang,否则会报错。
1 |
参考:
All articles in this blog are licensed under CC BY-SA 4.0 unless stating additionally.
Comment
在系统设置->硬件
中打开允许 autorun.sh
运行选项,并且编辑该文件。
1 | mount $(/sbin/hal_app --get_boot_pd port_id=0)6 /tmp/config |
必须添加 shebang,否则会报错。
1 |
参考: