Skip to content

Commit

Permalink
Proposed fix for issue #773 (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
necopinus authored and nachoparker committed Jan 22, 2019
1 parent 8edfd06 commit 57728e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-common/debian-ncp/run-parts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ EOF
chmod +x /usr/local/sbin/update-rc.d

# Iterate only over 000* entries which might setup environment
for file in $( ls -1v /etc/services-enabled.d | grep 000* ); do
for file in $( ls -1v /etc/services-enabled.d | grep ^000.* ); do
/etc/services-enabled.d/"$file" start "$1"
done

# Iterate over remaining entries
for file in $( ls -1v -I 000* /etc/services-enabled.d ); do
for file in $( ls -1v /etc/services-enabled.d | grep -v ^000.* ); do
/etc/services-enabled.d/"$file" start "$1"
done

Expand Down

0 comments on commit 57728e2

Please sign in to comment.