简体   繁体   English

update-rc.d命令

[英]update-rc.d command

I have some script I want to autorun it. 我有一些脚本要自动运行。 I am using such command: 我正在使用这样的命令:

 update-rc.d tdpsd defaults

and it fails with the following error: 并且失败并显示以下错误:

insserv: warning: current stop runlevel(s) (0 1 6) of script `tdpsd' overwrites defaults (0 1 6 S)

I understand the meaning of the error, but I can't find any solution how to solve it without passing custom runlevels? 我了解错误的含义,但是在不通过自定义运行级别的情况下找不到解决方案。

Thank you 谢谢

It's not an error. 这不是错误。 It's just a notification that the init script that you're loading has unusual runlevels -- if you really don't want it to run in the S (single-user) runlevel, just ignore the message. 这只是一个通知,表明您正在加载的init脚本具有异常的运行级别-如果您确实不希望它在S(单用户)运行级别中运行,请忽略此消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM