Skip to content

Commit

Permalink
don't run in background....
Browse files Browse the repository at this point in the history
  • Loading branch information
marklee77 committed Nov 10, 2014
1 parent 958a331 commit dd9f259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions my_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
if [ -d /etc/my_init.d ]; then
ls /etc/my_init.d/* | sort | while read SCRIPT; do
if [ -x ${SCRIPT} ]; then
${SCRIPT} &
${SCRIPT}
else
/bin/bash ${SCRIPT} &
/bin/bash ${SCRIPT}
fi
done
fi
Expand Down

0 comments on commit dd9f259

Please sign in to comment.