summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Generators/Debconf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Server/Generators/Debconf.py b/src/lib/Server/Generators/Debconf.py
index 20247407c..25c6e2094 100644
--- a/src/lib/Server/Generators/Debconf.py
+++ b/src/lib/Server/Generators/Debconf.py
@@ -9,20 +9,20 @@ class Debconf(Generator):
-> hostname
-> video driver'''
__name__ = 'Debconf'
- __version__ = '$Revision$'
+ __version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
__provides__ = {'ConfigFile':{}}
- probes = [Element("probe", name='VGA', interpreter='/bin/sh', source='Debconf')]
+ probes = [Element("probe", name='VGA', interpreter='/bin/sh', source=__name__)]
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