I try to write a skript wihch starts by a udev rule if I plug in a usb-hdd.
That rule works, because the skript write the date in a log file
Code: Select all
echo "$(date) Backup" >>/root/backup.log;
If I start the skript at the terminal all programms are running. (rdiff-backup, firefox......)
Any Ideas?
I use Debian GNU/Linux 9.3 (stretch)