On Sun, 14 Jun 2020 13:03:13 +0200
"J. Fahrner" <j...@fahrner.name> wrote:

> But if I do it interactively with "sudo mount /hdd" the drive gets 
> mounted and the waiting daemons are started.
> 
> I'm very confused...

When you mount it interactively the path is different and maybe it's
waiting for some input.

Try to add to the script:

PATH=${PATH}:/sbin:/usr/sbin

and

mount /dev/disk/ /mnt/mountpoint </dev/null

or 

mount /dev/disk/ /mnt/mountpoint </usr/bin/yes

Note: just don't-know-what-I'm-doing guesses.

-- 
richard lucassen
http://contact.xaq.nl/
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to