Use of the opts variable is deprecated and will be removed in the future.Please use extra_commands or extra_started_commands.

gentoo开机和运行某些程序时,经常出现如下提示:

* Use of the opts variable is deprecated and will be
* removed in the future.
* Please use extra_commands or extra_started_commands.

这篇文章中找到解决办法:

sed -e 's:opts=:extra_commands=:g' -e 's:${opts}:${extra_commands}:g' -e 's:$opts:$extra_commands:g' /etc/init.d/* -i

发表评论

电子邮件地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据