Being a total linux/freensd noob, I had no idea why my scripts were running on boot. they were throwing all kinds of errors. So I'm trying to post what I finally got to work here so others don't have to struggle for as long as I did...someone please correct me if I'm wrong
1. in your script...
I need to run a postinit script, which I've carefully written to use only full command paths. It works perfectly when I run it manually, but when I set it to be run automatically as a postinit script, it's never run.
Now, the script is on an encrypted volume, but I've been unencrypting it as...
on my freenas I connected a USB disk to backup the data of my volume, I have provided a startup script to mount the disk on the backup_usb folder at startup but it does not work although the script I have scheduled it as a task Postinit
why?
Hello
i'm trying to get a program (plexdrive) to start at boot.
so far i tried this in command at postinit:
/usr/local/bin/screen -dmS plexdrive_screen /bin/sh /usr/local/bin/plexdrive mount -c /mnt/SSD0/home/kenny/.plexdrive -o allow_other /mnt/SSD0/PlexRemote
Also tried in script postinit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.