> From: "Brian C. Lane" <bcl(a)redhat.com>
> On Fri, Mar 08, 2013 at 02:55:40PM -0500, John.Florian(a)dart.biz wrote:
> > I have a custom dracut module installed as a pre-mount hook (for
> > 18). This shell script needs to echo some messages to the
> > I'm having no luck making that happen. I've
> This is similar to what we ran into with checkisomd5, now that
> is being used by dracut you need to setup a service with access
> console in order for anything to be output (or input).
> The service file for that looks like this:
> Description=Media check on %f
> ExecStart=/bin/checkisomd5 --verbose %f
> You can look at commits 040f3883 and 5204d1d3 in dracut to see how it
> Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard,
> WA (PST8PDT)
Thanks for that Brian! I had pretty much came to that conclusion
before calling it a day on Friday, but it's very helpful to know
that the effort to go that route won't be wasted.
I just wanted to drop another note and thank you to mention that I got it
working. I had been mimicking how the dracut-emergency.service worked,
but the media-check service made an even better example by being even more
trivial. So, thanks again!