systemd: root device on iscsi
Jeremy Sanders
jeremy at jeremysanders.net
Wed Nov 30 14:33:26 UTC 2011
Jeremy Sanders wrote:
>
> This works. I don't know whether you want to change "-m" to "-s"...
I tried changing -m to -s.
The network still tries to get shut down, despite the if statement being run
and the exit 1 command being run. This is because the exit command only
exits from the shell looping over the read, not the shell the script is
executing in (I hate shells!).
I had to modify the patch to exit after the loop if the loop had exited
internally.
This fixed version appears to work (attached).
Jeremy
--
http://jeremysanders.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netroot.patch
Type: text/x-patch
Size: 768 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20111130/fc441305/attachment.bin
More information about the devel
mailing list