Actions
Bug #1541
closed/etc/rc.start/stop_packages do not start/stop .sh files
Start date:
05/19/2011
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
All
Description
Hi,
foreach doesn't works after array_flip()...
=================
--- ./etc/rc.start_packages.orig 2011-05-19 12:13:09.000000000 0000
++ ./etc/rc.start_packages 2011-05-19 12:18:47.000000000 +0000@ -61,7 +61,7
@
$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";
=================
(idem for rc.stop_services)
Updated by Jim Pingle over 13 years ago
- Status changed from New to Feedback
Updated by Jim Pingle over 13 years ago
- % Done changed from 0 to 100
Applied in changeset dfa6dedad7a3741cc621669077304f44c2c79467.
Updated by Ermal Luçi over 13 years ago
- Status changed from Feedback to Resolved
Actions