backuppcExportOnUsbDisk/udev-bkp-usb
2017-02-28 15:13:49 +01:00

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