树莓派安装 aria2 下载器遇到警告。
insserv: warning: script 'K01aria2c' missing LSB tags and overrides
insserv: warning: script 'aria2c' missing LSB tags and overrides
这是在命令行输入,设置 aria2 开机启动:
sudo update-rc.d aria2c defaults
遇到这样的问题,在 这里找到解决办法
If look at the /etc/init.d/skeleton
script, in the beginning of it there are two marks : ### BEGIN INIT INFO
and ### END INIT INFO
.
All the data inside those marks is the configuration for runtime dependences and you can look them up in the Debian Wiki.
Your script is missing these tags and configuration so insserv
just uses some defaults.
This is just a warning and is not something to worry about, but you can fix it very easily and then you can be Linux Standards Base
-compliant (That's what LSB means).
The easiest way to fix the warning, is to copy the LSB tags from the skeleton
script to the beginning of your mathkernel
script and just change skeleton
to mathkernel
.