Deleted Added
full compact
system.c (25251) system.c (26200)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $Id: system.c,v 1.79 1997/04/28 09:35:59 jkh Exp $
7 * $Id: system.c,v 1.80 1997/04/28 10:31:14 jkh Exp $
8 *
9 * Jordan Hubbard
10 *
11 * My contributions are in the public domain.
12 *
13 * Parts of this file are also blatently stolen from Poul-Henning Kamp's
14 * previous version of sysinstall, and as such fall under his "BEERWARE license"
15 * so buy him a beer if you like it! Buy him a beer for me, too!

--- 98 unchanged lines hidden (view full) ---

114void
115systemShutdown(int status)
116{
117 /* If some media is open, close it down */
118 if (status >=0 && mediaDevice)
119 mediaDevice->shutdown(mediaDevice);
120
121 /* write out any changes to rc.conf .. */
8 *
9 * Jordan Hubbard
10 *
11 * My contributions are in the public domain.
12 *
13 * Parts of this file are also blatently stolen from Poul-Henning Kamp's
14 * previous version of sysinstall, and as such fall under his "BEERWARE license"
15 * so buy him a beer if you like it! Buy him a beer for me, too!

--- 98 unchanged lines hidden (view full) ---

114void
115systemShutdown(int status)
116{
117 /* If some media is open, close it down */
118 if (status >=0 && mediaDevice)
119 mediaDevice->shutdown(mediaDevice);
120
121 /* write out any changes to rc.conf .. */
122 if (status)
123 configRC_conf("/etc/rc.conf");
122 configRC_conf("/etc/rc.conf");
124
125 /* Shut down the dialog library */
126 if (DialogActive) {
127 end_dialog();
128 DialogActive = FALSE;
129 }
130
131 /* Shut down curses */

--- 225 unchanged lines hidden ---
123
124 /* Shut down the dialog library */
125 if (DialogActive) {
126 end_dialog();
127 DialogActive = FALSE;
128 }
129
130 /* Shut down curses */

--- 225 unchanged lines hidden ---