Skip to content

Instantly share code, notes, and snippets.

@mralusw
mralusw / sysvinit-etc-init.d-tailscaled
Last active October 3, 2023 11:20 — forked from charles-l/tailscaled
tailscaled sysvinit script for devuan
#!/bin/sh
### BEGIN INIT INFO
# Provides: tailscale
# Required-Start: $local_fs $all $network
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Tailscale daemon
# Description: Runs the tailscale daemon.
### END INIT INFO
#!/bin/sh
set -ue
# Copyright 2021 Alin Mr. <[email protected]>. Licensed under the MIT license (https://opensource.org/licenses/MIT).
eval "${HYF_WR7PPER_ENV:-}"
set -- "${XDG_CONFIG_HOME:-$HOME/.config}"/hyperfine/hyf_wr7pper.env "$@"
! [ -r "$1" ] || . "$1"
shift
eval set -- "${HYF_WR7PPER_OPTS:-}" '"$@"'