GILHAD: Děkuji, ale ještě je v tom nějaký háček...
boot.log:
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/56-hpmud_support.rules:10
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/56-hpmud_support.rules:12
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:6
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:9
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:6
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:9
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:6
udevd[342]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:9
atd.
Soubor.txt = CistySeznam2.txt:
/etc/udev/rules.d/56-hpmud_support.rules
/etc/udev/rules.d/56-hpmud_support.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules
/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules
atd.
sudo cat CistySeznam2.txt | (while read jmeno; do sed -i "s/SYSFS/ATTR/g" $jmeno; done)
sed: /etc/udev/rules.d/56-hpmud_support.rules nelze číst: Adresář nebo soubor neexistuje
sed: dočasný soubor /etc/udev/rules.d/sedjuLJA4 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/sed8Pn9z2 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/sedBWoMX2 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/seduw3UR2 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/sedB5DQm3 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/seduReNc3 nelze otevřít: Operace zamítnuta
sed: dočasný soubor /etc/udev/rules.d/sedjZZKx3 nelze otevřít: Operace zamítnuta
atd.