7 lines
137 B
Bash
Executable file
7 lines
137 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "$ACTION" == "add" -a "$DEVTYPE" == "disk" ]
|
|
then
|
|
beep -f 1000 -l 100
|
|
echo "$DEVNAME" > /var/run/bkp-usb-detected
|
|
fi
|