[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Woody: Diverse kleine Problemchen



* Marcus Frings <protagonist@gmx.net> [23-01-02 00:31]:

> Warum eigentlich nicht? Unter SuSE war es ja nun auch kein Problem,
> modules.conf von Hand zu bearbeiten (mußte ich damals sogar wegen chrony
> bzw. wegen der RTC).

Hallo Marcus,
 
manche Programme rufen bei ihrer Installation update.modules auf.
Deine Einstellungen wären dann verloren. Editiere besser die
Dateien unter /etc/modutils/* oder lege Dir dort Deine eigenen
Dateien an, die bleiben dann auch nach einem update-modules erhalten.
Hier mal zwei kleine Beispiele für meinen Scanner und Netzwerkkarte,
um die ich mir hoffentlich nie wieder Sorgen machen muss. ;-)

uk@one [1]:~ $ cat /etc/modutils/scanner
# Aliase fuer Scanner und Scsi_Hostadapter

alias scsi_hostadapter aha152x
options aha152x aha152x=0x140,11,6,1,1,0,0,0

alias char-major-21     sg
post-install sg echo "scsi add-single-device 1 0 0 0" >/proc/scsi/scsi

uk@one [1]:~ $ cat /etc/modutils/duplex
# Aliase fuer Netzwerkkarte und Vollduplex

alias eth0 8139too
options 8139too full_duplex=1

Hier noch eine kleine Spielerei. :-)

root@one [5]:~ # grep marcus /etc/modules.conf
root@one [5]:~ # echo marcus > /etc/modutils/marcus
root@one [5]:~ # update-modules
root@one [5]:~ # grep marcus /etc/modules.conf
### update-modules: start processing /etc/modutils/marcus
marcus
### update-modules: end processing /etc/modutils/marcus
root@one [5]:~ # echo "marcus option" >> /etc/modutils/marcus
root@one [5]:~ # update-modules
root@one [5]:~ # grep marcus /etc/modules.conf
### update-modules: start processing /etc/modutils/marcus
marcus
marcus option
### update-modules: end processing /etc/modutils/marcus
root@one [5]:~ # rm /etc/modutils/marcus
root@one [5]:~ # grep marcus /etc/modules.conf
### update-modules: start processing /etc/modutils/marcus
marcus
marcus option
### update-modules: end processing /etc/modutils/marcus
root@one [5]:~ # update-modules
root@one [5]:~ # grep marcus /etc/modules.conf
root@one [5]:~ #

Meine SuSE liegt seit Potato in der Mottenkiste. :-)
Der Abschied hat mich ein, zwei Wochen gekostet...
Falls Du den YaST® vermisst, baue ihn Dir selber.

#! /bin/sh
cat > ~/yast.$$ <<EOF
dialog --menu 'System-Configurator' 20 70 12 \\
EOF
for i in /usr/sbin/*conf*; do
    echo "'$i' '' \\" >> ~/yast.$$
done
echo "2> ~/tmp.$$ " >> ~/yast.$$
sh ~/yast.$$
x=$?
setterm -clear
y=$(cat ~/tmp.$$)
if [ $x = 0 ]; then
    $y
fi
rm ~/tmp.$$ ~/yast.$$

Aber das braucht man nicht wirklich. *g*
Gruss Uwe

Attachment: pgpJP7AX6X2oM.pgp
Description: PGP signature


Reply to: