Post Init/Shutdown Startup Scripts on an Passphrase Encrypted Drive

theprez

Explorer
Joined
Oct 18, 2014
Messages
72
Hey All -

I seem to be encountering an issue (maybe its a known limitation) but I can't get startup scripts to work on an encrypted drive - regardless of whether or not they are set to Pre-Init or Post Init. I suspect it's because the system can't locate the script (which resides on a mounted pool) because the pool isn't unlocked yet with a passphrase.

I read elsewhere to move scripts to the /data partition and that it should survive any system software updates - is that correct?

Thanks
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
One option is to toss the file in /root, which will survive an upgrade.
 
Top