summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-13 23:09:18 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-13 23:09:18 +0000
commit10824d3e5004c5b3ec5c7b9a4444016097746470 (patch)
tree523ae35ec58107a3e2a34bcf0becf2be8a9f51c7 /anaconda
parentde43b6f4afd0664e6cba0e7dd7db4705bbf4b8b6 (diff)
downloadanaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.tar.gz
anaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.tar.xz
anaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.zip
symlinks for services, protocol, nsswitch.conf in all modes
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda10
1 files changed, 8 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index d6c2b0f9b..cc2bd5c30 100755
--- a/anaconda
+++ b/anaconda
@@ -532,13 +532,19 @@ import configFileData
configFile = configFileData.configFileData()
configFileData = configFile.getConfigData()
+# setup links required for all install types
+for i in ( "services", "protocol", "nsswitch.conf"):
+ try:
+ os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i)
+ except:
+ pass
+
#
# setup links required by graphical mode if installing and verify display mode
#
if (display_mode == 'g'):
if not flags.test and flags.setupFilesystems:
- for i in ( "imrc", "im_palette.pal", "gtk-2.0", "services",
- "protocol", "pango", "nsswitch.conf", "fonts"):
+ for i in ( "imrc", "im_palette.pal", "gtk-2.0", "pango", "fonts"):
try:
os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i)
except: