将 Ubuntu 14.04 升级到 16.04.1。提示替换定制的配置文件‘/etc/default/rcS’?
我不知道该做什么,保留还是替换?谢谢!
答案1
这/etc/default/rcS
文件会影响启动脚本的行为。如果您不确定是否对文件进行了任何更改,可以使用安装过程来查看这两个文件之间的差异。
当我不确定某个配置文件时,我通常会进入 shell 并将该文件复制到类似于的文件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] ?