Project

General

Profile

Actions

Bug #1541

closed

/etc/rc.start/stop_packages do not start/stop .sh files

Added by Thomas NOEL over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Ermal Luçi
Category:
Package System
Target version:
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)

Actions #1

Updated by Jim Pingle over 13 years ago

  • Status changed from New to Feedback
Actions #2

Updated by Jim Pingle over 13 years ago

  • % Done changed from 0 to 100
Actions #3

Updated by Ermal Luçi over 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF