Skip to content

Commit

Permalink
fixed tailscaled startup by fixing PATH to /usr/sbin only.
Browse files Browse the repository at this point in the history
This fixes #2541
  • Loading branch information
jens-maus committed Nov 30, 2023
1 parent 9190987 commit b4080ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot-external/package/tailscale/S46tailscaled
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ case "${1}" in
/sbin/sysctl -q net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 2>/dev/null

# shellcheck disable=SC2086
if ! start-stop-daemon -b -S -q -m -p "${TAILSCALED_PID}" -x ${TAILSCALED_EXEC} -- ${TAILSCALED_ARGS} -port ${TAILSCALED_PORT}; then
if ! start-stop-daemon -b -S -q -m -p "${TAILSCALED_PID}" -x /usr/bin/env -- PATH=/usr/sbin ${TAILSCALED_EXEC} ${TAILSCALED_ARGS} -port ${TAILSCALED_PORT}; then
echo "FAILED (${TAILSCALED_EXEC})"
exit 1
fi
Expand Down

0 comments on commit b4080ac

Please sign in to comment.