Add set_resolv.sh to disable preconfig dns.
Let configure it after installation. new file: install_shell/set_resolv.sh modified: setup.sh Signed-off-by: Qin, Bo <bqin@linx-info.com>
This commit is contained in:
22
install_shell/set_resolv.sh
Executable file
22
install_shell/set_resolv.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash -
|
||||
#===============================================================================
|
||||
#
|
||||
# FILE: set_resolv.sh
|
||||
#
|
||||
# USAGE: ./set_resolv.sh
|
||||
#
|
||||
# DESCRIPTION: comment /etc/resolv.conf, to avoid xmanager
|
||||
# connect to gdm black screen in NanRuiJibao.
|
||||
#
|
||||
# OPTIONS: ---
|
||||
# REQUIREMENTS: ---
|
||||
# BUGS: ---
|
||||
# NOTES: ---
|
||||
# AUTHOR: Qin Bo (), bqin@linx-info.com
|
||||
# COMPANY: linx-info
|
||||
# COPYRIGHT: Copyright 2001-2014 Linx Technology Co.,Ltd.
|
||||
# CREATED: 2014年04月29日 15时17分24秒 CST
|
||||
# REVISION: ---
|
||||
#===============================================================================
|
||||
|
||||
sed -i "/^/&# /g" /etc/resolv.conf
|
||||
Reference in New Issue
Block a user