= Сообщение: 6933 из 10767 ===================================== RU.UNIX.BSD = От : Slawa Olhovchenkov 2:5030/500 03 Apr 18 18:17:22 Кому : Ivan Novikov 03 Apr 18 18:17:22 Тема : отслеживание dmesg FGHI : area://RU.UNIX.BSD?msgid=2:5030/500+5ac39b6a На : area://RU.UNIX.BSD?msgid=2:5080/31+5ac38b87 = Кодировка сообщения определена как: FIDO =================================== ============================================================================== Hello Ivan!
03 Apr 18, Ivan Novikov writes to All:
IN> Есть usb вайфайный свисток который, как положено китайскому говну, время от IN> времени глючит и перестаёт функционировать. При этом в лог валится строчка: IN> kernel: urtwn0: device timeout IN> Сам девайс вполне лечится с помощью ifconfig wlan0 down && sleep 5 && IN> ifconfig wlan0 up Соответственно вопрос: есть ли какое-нибудь идейно верное IN> средство для отслеживания определённой строчки в логе и запуска по её IN> появлении заданной команды?
IN> Понятное дело, что несложно наворотить небольшой скрипт в кронтаб, но у IN> меня есть предчувствие, что есть готовые более изящные решения.