Magellan Linux

Annotation of /trunk/initscripts-alx/patches/initscripts-0.3.4-r10-alx-hwdetect-do-not-cleanup-any-config-data.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1214 - (hide annotations) (download)
Thu Dec 2 15:12:50 2010 UTC (13 years, 6 months ago) by niro
File size: 722 byte(s)
do not remove any hwdetect data
1 niro 1214 diff -Naur magellan-initscripts/etc/rc.d/init.d/hwdetect magellan-initscripts-fixed/etc/rc.d/init.d/hwdetect
2     --- magellan-initscripts/etc/rc.d/init.d/hwdetect 2005-08-31 23:46:24.000000000 +0200
3     +++ magellan-initscripts-fixed/etc/rc.d/init.d/hwdetect 2010-12-02 16:20:44.000000000 +0100
4     @@ -369,14 +369,6 @@
5     echo -e ${COLOREDSTAR}"Hardware Autodetection started ..."
6     echo -e ${COLOREDSTAR}"Prozessor: $(cat /proc/cpuinfo |grep "model name" | sed -e 's:model\ name*.*\: ::')"
7    
8     -
9     - # cleaning up old data-crap
10     - if [ -e /etc/sysconfig/hwsetup ]
11     - then
12     - echo -e ${COLOREDSTAR}"Cleaning up old data ..."
13     - rm -f /etc/sysconfig/hwsetup/*
14     - fi
15     -
16     echo -en "${COLOREDSTAR}";hwsetup -p > /dev/null
17    
18     # clean up modules