Date: Fri, 16 Feb 2001 23:31:06 +0000 From: floral@care4free.net To: freebsd-questions@freebsd.org Subject: 'system' function in install.cfg Message-ID: <OF4CF7E2FE.9DD78677-ON802569F5.0080ACE5@amnesty.org>
next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format. --=_alternative 0080B74B802569F5_= Content-Type: text/plain; charset="us-ascii" Hello gurus, I have an install.cfg file for an unattended setup. I am using it from the msfroot.flp to install the system from scratch. In a basic configuration (partition the hdd, install the bin distribution, a few packages and reboot the system) it works pretty well. However, I want to execute a small script before restarting the system . I am using the "system" function in install.cfg. For testing purposes I was trying to launch a shell with it. [...] installCommit system /bin/sh shutdown Next time I ran sysinstall it gave me an error, saying that it cannot find /bin/sh Since the unattended mode stopped after this error, I've switched to tty4 and I checked the existence of /bin/sh and the shell was there. Any ideas why it is not executing it? Many thanks, Florentin Albu Client-Server Systems Manager falbu@amnesty.org _________________________________________________________ Amnesty International, International Secretariat visit us at http://www.amnesty.org Be Realistic! Plan for a Miracle! ONE click to stamp out torture. http://www.stoptorture.org --=_alternative 0080B74B802569F5_= Content-Type: text/html; charset="us-ascii" <br><font size=2 face="sans-serif">Hello gurus,</font> <br> <br><font size=2 face="sans-serif">I have an install.cfg file for an unattended setup.</font> <br><font size=2 face="sans-serif">I am using it from the msfroot.flp to install the system from scratch.</font> <br> <br><font size=2 face="sans-serif">In a basic configuration (partition the hdd, install the bin distribution, a few packages and reboot the system) it works pretty well.</font> <br> <br><font size=2 face="sans-serif">However, I want to execute a small script before restarting the system .</font> <br><font size=2 face="sans-serif">I am using the "system" function in install.cfg. For testing purposes I was trying to launch a shell with it.</font> <br> <br><font size=2 face="sans-serif">[...]</font> <br><font size=2 face="sans-serif">installCommit</font> <br><font size=2 face="sans-serif">system /bin/sh</font> <br><font size=2 face="sans-serif">shutdown</font> <br> <br><font size=2 face="sans-serif">Next time I ran sysinstall it gave me an error, saying that it cannot find /bin/sh</font> <br><font size=2 face="sans-serif">Since the unattended mode stopped after this error, I've switched to tty4 and I checked the existence of /bin/sh and the shell was there.</font> <br> <br><font size=2 face="sans-serif">Any ideas why it is not executing it?</font> <br> <br><font size=2 face="sans-serif">Many thanks,</font> <br><font size=2 face="sans-serif"><br> Florentin Albu<br> <br> Client-Server Systems Manager<br> falbu@amnesty.org<br> _________________________________________________________<br> Amnesty International, International Secretariat<br> visit us at http://www.amnesty.org<br> <br> Be Realistic! Plan for a Miracle!<br> <br> <br> ONE click to stamp out torture.<br> http://www.stoptorture.org</font> --=_alternative 0080B74B802569F5_=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF4CF7E2FE.9DD78677-ON802569F5.0080ACE5>