summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-28 18:18:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-28 18:18:22 +0000
commit1939b5cee73df38a7d139ddb7edf924f2e3d819f (patch)
tree9f86c196caab666f57db312169cefa344bdad709 /etc
parent92d8801f46d3c4f08ef0546f896a1c09fd0c1112 (diff)
downloadpfsense-1939b5cee73df38a7d139ddb7edf924f2e3d819f.zip
pfsense-1939b5cee73df38a7d139ddb7edf924f2e3d819f.tar.gz
Do not close STDIN until script is done processing.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial.firmware_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update
index c10b514..e5aa337 100755
--- a/etc/rc.initial.firmware_update
+++ b/etc/rc.initial.firmware_update
@@ -104,8 +104,6 @@ switch ($command) {
}
}
-fclose($fp);
-
function check_for_kernel_file() {
if(!file_exists("/boot/kernel/pfsense_kernel.txt")) {
echo "\nPlease select which kernel you would like to use:\n";
@@ -140,4 +138,6 @@ function do_upgrade($path) {
unlink_if_exists($path);
}
+fclose($fp);
+
?> \ No newline at end of file
OpenPOWER on IntegriCloud