diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-08-28 18:18:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-08-28 18:18:22 +0000 |
commit | 1939b5cee73df38a7d139ddb7edf924f2e3d819f (patch) | |
tree | 9f86c196caab666f57db312169cefa344bdad709 | |
parent | 92d8801f46d3c4f08ef0546f896a1c09fd0c1112 (diff) | |
download | pfsense-1939b5cee73df38a7d139ddb7edf924f2e3d819f.zip pfsense-1939b5cee73df38a7d139ddb7edf924f2e3d819f.tar.gz |
Do not close STDIN until script is done processing.
-rwxr-xr-x | etc/rc.initial.firmware_update | 4 |
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 |