san@sammie:~/Dokumenty > cat lid #!/bin/bash
COUNTER=0
while [ $COUNTER -lt 30 ]; do
echo About $COUNTER s `cat /proc/acpi/button/lid/LID/state`
let COUNTER=COUNTER+1 sleep 1
done
Agree. After about 11 sec it says closed. Many thanks and best regards.
san@sammie: ~/Dokumenty > cat lid
#!/bin/ bash button/ lid/LID/ state`
sleep 1
COUNTER=0
while [ $COUNTER -lt 30 ]; do
echo About $COUNTER s `cat /proc/acpi/
let COUNTER=COUNTER+1
done
Agree. After about 11 sec it says closed. Many thanks and best regards.