Raspbianで「missing LSB tags and overrides」というエラーへの対応方法

Raspberry Piで起動スクリプトを追加してupdate-rc.dを実行したところ、「insserv: warning: script ‘mathkernel’ missing LSB tags and overrides」という警告がでました。

#!/bin/sh
$ sudo update-rc.d vncserver defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'mathkernel' missing LSB tags and overrides


調べたところ、mathkernelの起動スクリプトに記述が足りないために発生しているようでした。Raspberry Pi • View topic – inssserv: warning: script 'mathkernel' missing LSB tagsにそのものがずばり。

「#!/bin/sh」の次へINIT INFOの記述を追加しました。

#!/bin/sh
### BEGIN INIT INFO
# Provides:          mathkernel
# Required-Start:    $local_fs 
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: mathkernel
### END INIT INFO
(略)

このスクリプトを使っているのは、wolfram-engineらしいので、それをアンインストールするということでも良いようです。こちらは試していません。

$ sudo apt-get remove wolfram-engine

Raspberry Piに興味のある方は、こちらもどうぞ。

同じタグの記事: Raspberry Pi
同じカテゴリの記事: General