Skip to content

Commit 6b0c90d

Browse files
ref(init): remove sdutil, which is no longer used (#51)
1 parent b755813 commit 6b0c90d

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

rootfs/runner/init

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,5 @@ case "$1" in
5454
;;
5555
esac
5656

57-
## Use sdutil to register with service discovery
58-
59-
if [[ $SD_NAME && $PORT ]]; then
60-
if [[ $SD_HOST ]]; then
61-
runner="sdutil exec -h $SD_HOST -s $SD_NAME:$PORT bash -c"
62-
unset SD_HOST
63-
else
64-
runner="sdutil exec -s $SD_NAME:$PORT bash -c"
65-
fi
66-
unset SD_NAME
67-
elif [[ $SD_ARGS ]]; then
68-
runner="sdutil $SD_ARGS bash -c"
69-
unset SD_ARGS
70-
else
71-
runner="bash -c"
72-
fi
73-
7457
## Run!
75-
# shellcheck disable=SC2086
76-
exec $runner "$command"
58+
exec bash -c "$command"

0 commit comments

Comments
 (0)