From fa150b95d3d9d9b3ea51a03e9243d2b4b2a6c761 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 17 Apr 2022 22:43:29 +0200 Subject: Add license --- lib/subcommands/add.bash | 4 ++++ lib/subcommands/bootstrap.bash | 4 ++++ lib/subcommands/del.bash | 4 ++++ lib/subcommands/ssh.bash | 4 ++++ lib/subcommands/sync.bash | 4 ++++ lib/subcommands/sysinfo.bash | 4 ++++ 6 files changed, 24 insertions(+) (limited to 'lib/subcommands') diff --git a/lib/subcommands/add.bash b/lib/subcommands/add.bash index b48ef10..590c8ec 100644 --- a/lib/subcommands/add.bash +++ b/lib/subcommands/add.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { export BASHTARD_PLAYBOOK="$1" ; shift diff --git a/lib/subcommands/bootstrap.bash b/lib/subcommands/bootstrap.bash index 8750134..343547d 100644 --- a/lib/subcommands/bootstrap.bash +++ b/lib/subcommands/bootstrap.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { remote="$1" ; shift diff --git a/lib/subcommands/del.bash b/lib/subcommands/del.bash index 3896fec..9f01c3c 100644 --- a/lib/subcommands/del.bash +++ b/lib/subcommands/del.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { export BASHTARD_PLAYBOOK="$1" ; shift diff --git a/lib/subcommands/ssh.bash b/lib/subcommands/ssh.bash index 19ead9a..0eb4be8 100644 --- a/lib/subcommands/ssh.bash +++ b/lib/subcommands/ssh.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { local ssh="$(config app.ssh)" diff --git a/lib/subcommands/sync.bash b/lib/subcommands/sync.bash index 8fce0b6..7722e2d 100644 --- a/lib/subcommands/sync.bash +++ b/lib/subcommands/sync.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { export BASHTARD_PLAYBOOK="$1" ; shift diff --git a/lib/subcommands/sysinfo.bash b/lib/subcommands/sysinfo.bash index 7b83e32..8aa237e 100644 --- a/lib/subcommands/sysinfo.bash +++ b/lib/subcommands/sysinfo.bash @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2022 Patrick Spek +# +# SPDX-License-Identifier: AGPL-3.0-or-later + subcommand() { printf "%-15s %s\n" "etcdir" "$BASHTARD_ETCDIR" printf "%-15s %s\n" "libdir" "$BASHTARD_LIBDIR" -- cgit v1.1