From: Jure C. <gan...@us...> - 2004-12-31 09:28:23
|
Update of /cvsroot/morphix/ibuild/share/patches/laptop-netconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14749/laptop-netconf Modified Files: control.py Added Files: wehavenet.sh Log Message: adding a workaround for some probles with translucency Index: control.py =================================================================== RCS file: /cvsroot/morphix/ibuild/share/patches/laptop-netconf/control.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** control.py 29 Dec 2004 19:10:40 -0000 1.1 --- control.py 31 Dec 2004 09:28:12 -0000 1.2 *************** *** 13,14 **** --- 13,22 ---- morphix.addservice('laptop-netconf', 'M50laptop-netconf') + + src = fs.path.join(getsetting('whereami'),'wehavenet.sh') + dst = fs.path.join(getsetting('sourcepath'),'morphix/init.d','wehavenet.sh') + + fs.cp(src,dst) + + chroot.chroot("ln -s /morphix/init.d/%s /morphix/rc.m/%s" % ('wehavenet.sh','M51wehavenet')) + --- NEW FILE: wehavenet.sh --- #!/bin/bash rscf=`ls -l /etc/resolv.conf | awk '{print $11}'` rm /etc/resolv.conf cp /etc/$rscf /etc/resolv.conf |