我制作了本教程中所示的脚本:http : //edv-huber.com/index.php/problemloesungen/15-custom-splash-screen-for-raspberry-pi-raspbian
但是在执行命令后:
insserv /etc/init.d/asplashscreen
Run Code Online (Sandbox Code Playgroud)
我收到错误:
insserv: warning script 'k01localhostrepair.sh missing lsb tags and overrides
insserv: warning: scrpt 'localhostrepair.sh' missing LSB tags and overrides
Run Code Online (Sandbox Code Playgroud)
我想是因为我做错了:
chmod 777 /etc/init.d
Run Code Online (Sandbox Code Playgroud)
为了在那里复制一个文件。我如何修复那个和上面的问题?
编辑:我不知道为什么,但它开始工作(实际上并不好)。当 RPi 启动时,4/5 次启动最终会导致 Pi 崩溃。加载时,有一个闪屏,但几秒钟后,我仍然可以在开始时看到控制台输出。启动图像也会在短时间内消失,而不是在桌面启动之前。