backuppcExportOnUsbDisk/udev-bkp-usb

8 lines
137 B
Text
Raw Permalink Normal View History

2017-02-28 15:13:49 +01:00
#!/bin/bash
if [ "$ACTION" == "add" -a "$DEVTYPE" == "disk" ]
then
beep -f 1000 -l 100
echo "$DEVNAME" > /var/run/bkp-usb-detected
fi