summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2007-02-07 19:45:28 +0000
committerCliff Brake <cbrake@bec-systems.com>2007-02-07 19:45:28 +0000
commit92f1049b080402154265defeddc869bb726cb0cc (patch)
tree87efb739631a45ec9c33fffcfc3f113f2157678e
parent77d71931684db18dacb648a9dd2f804829983df4 (diff)
sysvinit: fix divide by 0 error on shutdown in /etc/init.d/rc
-rwxr-xr-xpackages/sysvinit/sysvinit/angstrom/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sysvinit/sysvinit/angstrom/rc b/packages/sysvinit/sysvinit/angstrom/rc
index 7716a52099..e43ddec14b 100755
--- a/packages/sysvinit/sysvinit/angstrom/rc
+++ b/packages/sysvinit/sysvinit/angstrom/rc
@@ -23,7 +23,7 @@ startup_progress() {
step=$(($step + $step_change))
if [ $(($num_steps + $first_step)) -lt 1 ]; then
- numsteps="1"
+ num_steps="1"
first_step="0"
fi