<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 14, 2012, at 7:29 AM, Michael Coffman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Tue, Mar 13, 2012 at 5:31 PM, Darren Patterson <span dir="ltr"><<a href="mailto:darren.patterson@stanford.edu">darren.patterson@stanford.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Years ago it was possible to create an interactive init script that prompted on startup.  This isn't the case anymore, unlike on Debian and Ubuntu.<br>
<br>
There are two bootstrap steps that I need to need to prompt for at first boot as root.  Since I can't do that at boot, anyone want to offer some recommendations?<br>
<br>
I was considering just having root's shell skel files launch the script (then remove itself on success).  Is there a better way?<br>
<br></blockquote><div><br>Would it be over kill to make use of firstboot?   It looks like you could modify /etc/init.d/firstboot to point to your own set of python scripts to do <br>custom config via <br><br>firstboot -m<br>
<br>I have not tried this, but it seems like it would work as a way to force something the first time the system is booted.<br></div></div></blockquote></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">firstboot requires X, which we don't install on our servers.   I am trying to match cli bootstrap functionality with Debian/Ubuntu.</span></div><div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div><br class="webkit-block-placeholder"></div><div>-darren</div>
<br></body></html>