aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2005-09-27 14:49:10 +0000
committerThan Ngo <than@redhat.com>2005-09-27 14:49:10 +0000
commit666e3ea08307c8ea952b0eeda4c1267c50b6abd9 (patch)
tree24f98fa1e3d6827b620a1ce2e282d4a18eefc060 /sysconfig
parentfab90b3e6455472d561d94da40093726656a992f (diff)
downloadinitscripts-666e3ea08307c8ea952b0eeda4c1267c50b6abd9.tar
initscripts-666e3ea08307c8ea952b0eeda4c1267c50b6abd9.tar.gz
initscripts-666e3ea08307c8ea952b0eeda4c1267c50b6abd9.tar.bz2
initscripts-666e3ea08307c8ea952b0eeda4c1267c50b6abd9.tar.xz
initscripts-666e3ea08307c8ea952b0eeda4c1267c50b6abd9.zip
fixed typo bug
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 49c733fc..a42846a1 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -220,7 +220,7 @@ set_hostname ()
hostname $1
if ! grep search /etc/resolv.conf >/dev/null 2>&1; then
domain=`echo $1 | sed 's/^[^\.]*\.//'`
- if [ -n "$domain" ]; thenb
+ if [ -n "$domain" ]; then
rsctmp=`mktemp /tmp/XXXXXX`;
cat /etc/resolv.conf > $rsctmp
echo "search $domain" >> $rsctmp