替换自定义的配置文件..?

克鲁姆兹

将Ubuntu 14.04升级到16.04.1。提示是否替换定制的配置文件'/ etc / default / rcS'?

我不确定该怎么办,保留还是更换..?谢谢!

LD詹姆斯

/etc/default/rcS文件会影响启动脚本的行为。如果不确定是否对该文件进行了任何更改,则可以使用安装过程查看两个文件之间的差异。

当我不确定配置文件时,通常将其放入外壳并将其复制到类似于的文件中rcS.old,然后进行覆盖,以便以后可以检查更改并在两者之间创建自己最好的配置文件。

当然,这些选项是:(
示例提示)

Configuration file `/etc/bash.bashrc'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** bash.bashrc (Y/I/N/O/D/Z) [default=N] ? 

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章