diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-12-17 16:46:52 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-12-17 16:46:52 +0000 |
commit | 0cd6dfbfbb8e425766eb9f5bdfa38ac27c69eefc (patch) | |
tree | 8813cd3cc45dbe352b98ef0dae1cdb646ccf8649 /src/lib/Server/Generators | |
parent | 601a61272f0d5099dae83c0c948abb42db2635ec (diff) | |
download | bcfg2-0cd6dfbfbb8e425766eb9f5bdfa38ac27c69eefc.tar.gz bcfg2-0cd6dfbfbb8e425766eb9f5bdfa38ac27c69eefc.tar.bz2 bcfg2-0cd6dfbfbb8e425766eb9f5bdfa38ac27c69eefc.zip |
fix quoting
(Logical change 1.169)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@743 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Generators')
-rw-r--r-- | src/lib/Server/Generators/Debconf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Generators/Debconf.py b/src/lib/Server/Generators/Debconf.py index 25c6e2094..bcc675cba 100644 --- a/src/lib/Server/Generators/Debconf.py +++ b/src/lib/Server/Generators/Debconf.py @@ -17,12 +17,12 @@ class Debconf(Generator): probes[0].text = ''' XSERVER='/usr/bin/X11/X|/usr/X11R6/bin/X' if [ XFree86 -configure 2>/dev/null ] ; then - VGACARD=`tail -50 /root/XF86Config.new | grep Driver | awk -F\" '{print $2}'` + VGACARD=`tail -50 /root/XF86Config.new | grep Driver | awk -F/\" '{print $2}'` elif ps auxww | egrep ${XSERVER} | grep -v grep > /dev/null ;then if [ -e /etc/X11/XF86Config ]; then - VGACARD=`tail -50 /etc/X11/XF86Config | grep Driver | awk -F\" '{print $2}'` + VGACARD=`tail -50 /etc/X11/XF86Config | grep Driver | awk -F/\" '{print $2}'` else - VGACARD=`tail -50 /etc/X11/XF86Config-4 | grep Driver | awk -F\" '{print $2}'` + VGACARD=`tail -50 /etc/X11/XF86Config-4 | grep Driver | awk -F/\" '{print $2}'` fi else VGACARD=nv |