Portál AbcLinuxu, 30. dubna 2025 18:20
echo 30 > /sys/module/scsi_mod/parameters/inq_timeout
hodil někam do startup-skriptu, aby se to během bootování provedlo.
/etc/rc.local
, coz se spousti vzdy na zaver bootovani.
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. echo 30 > /sys/module/scsi_mod/parameters/inq_timeout exit 0
keddie@musa:~$ cat /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0
`uname -r`
je vlozeni vystupu prikazu
sudo aptitude reinstall linux-image-'uname-r'
si bude stezovat, ze takovy balik neexistuje, alesudo aptitude reinstall linux-image-`uname-r`
jiz snad zafunguje.
sudo aptitude reinstall linux-image-`uname-r` jiz snad zafunguje.To si zas bude stěžovat, že neexistuje takový příkaz.
mira@phoenix:~$ apt-cache search linux-image-'uname -r' mira@phoenix:~$ apt-cache search linux-image-"uname -r" mira@phoenix:~$ apt-cache search linux-image-`uname -r` linux-image-2.6.35-25-generic - Linux kernel image for version 2.6.35 on x86/x86_64Tak to tedy vypadá, že to funguje s ` `
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.