Skip to content
Permalink
Browse files

ref(init): remove sdutil, which is no longer used (#51)

  • Loading branch information...
Joshua-Anderson committed Sep 1, 2016
1 parent b755813 commit 6b0c90df8593dc903c42a59faa20f83287d507a3
Showing with 1 addition and 19 deletions.
  1. +1 −19 rootfs/runner/init
@@ -54,23 +54,5 @@ case "$1" in
;;
esac

## Use sdutil to register with service discovery

if [[ $SD_NAME && $PORT ]]; then
if [[ $SD_HOST ]]; then
runner="sdutil exec -h $SD_HOST -s $SD_NAME:$PORT bash -c"
unset SD_HOST
else
runner="sdutil exec -s $SD_NAME:$PORT bash -c"
fi
unset SD_NAME
elif [[ $SD_ARGS ]]; then
runner="sdutil $SD_ARGS bash -c"
unset SD_ARGS
else
runner="bash -c"
fi

## Run!
# shellcheck disable=SC2086
exec $runner "$command"
exec bash -c "$command"

0 comments on commit 6b0c90d

Please sign in to comment.
You can’t perform that action at this time.