From dfa6dedad7a3741cc621669077304f44c2c79467 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 19 May 2011 12:51:58 -0400 Subject: Fix array parsing of rc files. Resolves #1541 --- etc/rc.start_packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.start_packages') diff --git a/etc/rc.start_packages b/etc/rc.start_packages index ddd288d..4b78718 100755 --- a/etc/rc.start_packages +++ b/etc/rc.start_packages @@ -61,7 +61,7 @@ if (is_array($config['installedpackages']['package'])) { $shell = @popen("/bin/sh", "w"); if ($shell) { - foreach ($rcfiles as $rcfile) { + foreach ($rcfiles as $rcfile => $number) { echo " Starting {$rcfile}..."; fwrite($shell, "{$rcfile} start >>/tmp/bootup_messages 2>&1 &"); echo "done.\n"; -- cgit v1.1