From 7059062c2f389ae18be26ba26022abda73918ad7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 18 Nov 2017 18:21:19 +0100 Subject: [PATCH] Add SPDX license headers to shell completion scripts --- shell-completion/bash/bootctl | 1 + shell-completion/bash/busctl | 1 + shell-completion/bash/coredumpctl | 1 + shell-completion/bash/hostnamectl | 1 + shell-completion/bash/journalctl | 1 + shell-completion/bash/kernel-install | 1 + shell-completion/bash/localectl | 1 + shell-completion/bash/loginctl | 1 + shell-completion/bash/machinectl | 1 + shell-completion/bash/networkctl | 1 + shell-completion/bash/systemctl.in | 1 + shell-completion/bash/systemd-analyze | 1 + shell-completion/bash/systemd-cat | 1 + shell-completion/bash/systemd-cgls | 1 + shell-completion/bash/systemd-cgtop | 1 + shell-completion/bash/systemd-delta | 1 + shell-completion/bash/systemd-detect-virt | 1 + shell-completion/bash/systemd-nspawn | 1 + shell-completion/bash/systemd-path | 1 + shell-completion/bash/systemd-resolve | 1 + shell-completion/bash/systemd-run | 1 + shell-completion/bash/timedatectl | 1 + shell-completion/bash/udevadm | 1 + shell-completion/zsh/_bootctl | 1 + shell-completion/zsh/_busctl | 1 + shell-completion/zsh/_coredumpctl | 1 + shell-completion/zsh/_hostnamectl | 1 + shell-completion/zsh/_journalctl | 1 + shell-completion/zsh/_kernel-install | 1 + shell-completion/zsh/_localectl | 1 + shell-completion/zsh/_loginctl | 1 + shell-completion/zsh/_machinectl | 1 + shell-completion/zsh/_networkctl | 1 + shell-completion/zsh/_sd_hosts_or_user_at_host | 1 + shell-completion/zsh/_sd_machines | 1 + shell-completion/zsh/_sd_outputmodes | 1 + shell-completion/zsh/_sd_unit_files | 1 + shell-completion/zsh/_systemctl.in | 1 + shell-completion/zsh/_systemd | 1 + shell-completion/zsh/_systemd-analyze | 1 + shell-completion/zsh/_systemd-delta | 1 + shell-completion/zsh/_systemd-inhibit | 1 + shell-completion/zsh/_systemd-nspawn | 1 + shell-completion/zsh/_systemd-resolve | 1 + shell-completion/zsh/_systemd-run | 1 + shell-completion/zsh/_systemd-tmpfiles | 1 + shell-completion/zsh/_timedatectl | 1 + shell-completion/zsh/_udevadm | 1 + 48 files changed, 48 insertions(+) diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index c86ec7e..34b1b55 100644 --- a/shell-completion/bash/bootctl +++ b/shell-completion/bash/bootctl @@ -1,4 +1,5 @@ # bootctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl index 6a770b1..aa4c1d7 100644 --- a/shell-completion/bash/busctl +++ b/shell-completion/bash/busctl @@ -1,4 +1,5 @@ # busctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl index 87fe473..842e494 100644 --- a/shell-completion/bash/coredumpctl +++ b/shell-completion/bash/coredumpctl @@ -1,4 +1,5 @@ # coredumpctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl index 7cf8b6f..a35ac7f 100644 --- a/shell-completion/bash/hostnamectl +++ b/shell-completion/bash/hostnamectl @@ -1,4 +1,5 @@ # hostnamectl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index c90a114..03ee733 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -1,4 +1,5 @@ # journalctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/kernel-install b/shell-completion/bash/kernel-install index 7cd2494..5a78528 100644 --- a/shell-completion/bash/kernel-install +++ b/shell-completion/bash/kernel-install @@ -1,4 +1,5 @@ # kernel-install(8) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/localectl b/shell-completion/bash/localectl index e0c06a7..97c91a4 100644 --- a/shell-completion/bash/localectl +++ b/shell-completion/bash/localectl @@ -1,4 +1,5 @@ # localectl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl index 776eca4..d8d14f8 100644 --- a/shell-completion/bash/loginctl +++ b/shell-completion/bash/loginctl @@ -1,4 +1,5 @@ # loginctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl index aebe483..7865a99 100644 --- a/shell-completion/bash/machinectl +++ b/shell-completion/bash/machinectl @@ -1,4 +1,5 @@ # machinectl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/networkctl b/shell-completion/bash/networkctl index 68e3338..0c36aaf 100644 --- a/shell-completion/bash/networkctl +++ b/shell-completion/bash/networkctl @@ -1,4 +1,5 @@ # networkctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index bde28ef..5a353f7 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -1,4 +1,5 @@ # systemctl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index 8c56a1c..45ff7a1 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -1,4 +1,5 @@ # systemd-analyze(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-cat b/shell-completion/bash/systemd-cat index 8d84042..20ff672 100644 --- a/shell-completion/bash/systemd-cat +++ b/shell-completion/bash/systemd-cat @@ -1,4 +1,5 @@ # systemd-cat(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-cgls b/shell-completion/bash/systemd-cgls index 0570438..0f579a6 100644 --- a/shell-completion/bash/systemd-cgls +++ b/shell-completion/bash/systemd-cgls @@ -1,4 +1,5 @@ # systemd-cgls(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop index f1ed22f..7a1b4ac 100644 --- a/shell-completion/bash/systemd-cgtop +++ b/shell-completion/bash/systemd-cgtop @@ -1,4 +1,5 @@ # systemd-cgtop(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-delta b/shell-completion/bash/systemd-delta index cb17328..d393343 100644 --- a/shell-completion/bash/systemd-delta +++ b/shell-completion/bash/systemd-delta @@ -1,4 +1,5 @@ # systemd-delta(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-detect-virt b/shell-completion/bash/systemd-detect-virt index df06c29..21dca2b 100644 --- a/shell-completion/bash/systemd-detect-virt +++ b/shell-completion/bash/systemd-detect-virt @@ -1,4 +1,5 @@ # systemd-detect-virt(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn index ea4a5e1..4f2fbef 100644 --- a/shell-completion/bash/systemd-nspawn +++ b/shell-completion/bash/systemd-nspawn @@ -1,4 +1,5 @@ # systemd-nspawn(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-path b/shell-completion/bash/systemd-path index 2f0c5f5..5d99775 100644 --- a/shell-completion/bash/systemd-path +++ b/shell-completion/bash/systemd-path @@ -1,4 +1,5 @@ # systemd-path(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-resolve b/shell-completion/bash/systemd-resolve index f59482f..3f789e8 100644 --- a/shell-completion/bash/systemd-resolve +++ b/shell-completion/bash/systemd-resolve @@ -1,4 +1,5 @@ # systemd-resolve(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run index 4116ba7..125cd30 100644 --- a/shell-completion/bash/systemd-run +++ b/shell-completion/bash/systemd-run @@ -1,4 +1,5 @@ # systemd-run(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl index a57fbd2..b9d0081 100644 --- a/shell-completion/bash/timedatectl +++ b/shell-completion/bash/timedatectl @@ -1,4 +1,5 @@ # timedatectl(1) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm index b828b8d..744a388 100644 --- a/shell-completion/bash/udevadm +++ b/shell-completion/bash/udevadm @@ -1,4 +1,5 @@ # udevadm(8) completion -*- shell-script -*- +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl index 0e1b0a5..f107005 100644 --- a/shell-completion/zsh/_bootctl +++ b/shell-completion/zsh/_bootctl @@ -1,4 +1,5 @@ #compdef bootctl +# SPDX-License-Identifier: LGPL-2.1+ (( $+functions[_bootctl_command] )) || _bootctl_command() { diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl index a425b8c..883ace4 100644 --- a/shell-completion/zsh/_busctl +++ b/shell-completion/zsh/_busctl @@ -1,4 +1,5 @@ #compdef busctl +# SPDX-License-Identifier: LGPL-2.1+ # busctl(1) completion -*- shell-script -*- # diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl index e469bca..ea8cfb2 100644 --- a/shell-completion/zsh/_coredumpctl +++ b/shell-completion/zsh/_coredumpctl @@ -1,4 +1,5 @@ #compdef coredumpctl +# SPDX-License-Identifier: LGPL-2.1+ _coredumpctl_command(){ local -a _coredumpctl_cmds diff --git a/shell-completion/zsh/_hostnamectl b/shell-completion/zsh/_hostnamectl index 8c4a354..ea86863 100644 --- a/shell-completion/zsh/_hostnamectl +++ b/shell-completion/zsh/_hostnamectl @@ -1,4 +1,5 @@ #compdef hostnamectl +# SPDX-License-Identifier: LGPL-2.1+ _hostnamectl_set-hostname() { if (( CURRENT <= 3 )); then diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl index 4a78a2e..4bffabb 100644 --- a/shell-completion/zsh/_journalctl +++ b/shell-completion/zsh/_journalctl @@ -1,4 +1,5 @@ #compdef journalctl +# SPDX-License-Identifier: LGPL-2.1+ _list_fields() { local -a journal_fields diff --git a/shell-completion/zsh/_kernel-install b/shell-completion/zsh/_kernel-install index 4fdd3a4..6358a64 100644 --- a/shell-completion/zsh/_kernel-install +++ b/shell-completion/zsh/_kernel-install @@ -1,4 +1,5 @@ #compdef kernel-install +# SPDX-License-Identifier: LGPL-2.1+ _images(){ if [[ "$words[2]" == "remove" ]]; then diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl index 54c2d45..e5ec65b 100644 --- a/shell-completion/zsh/_localectl +++ b/shell-completion/zsh/_localectl @@ -1,4 +1,5 @@ #compdef localectl +# SPDX-License-Identifier: LGPL-2.1+ _localectl_set-locale() { local -a _locales locale_fields diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl index 6f6ff6e..03dde9a 100644 --- a/shell-completion/zsh/_loginctl +++ b/shell-completion/zsh/_loginctl @@ -1,4 +1,5 @@ #compdef loginctl +# SPDX-License-Identifier: LGPL-2.1+ _loginctl_all_sessions() { local session description diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl index 92d7710..933f4d2 100644 --- a/shell-completion/zsh/_machinectl +++ b/shell-completion/zsh/_machinectl @@ -1,4 +1,5 @@ #compdef machinectl +# SPDX-License-Identifier: LGPL-2.1+ __get_available_machines () { machinectl --no-legend list-images | {while read -r a b; do echo $a; done;} diff --git a/shell-completion/zsh/_networkctl b/shell-completion/zsh/_networkctl index acf7463..ea485d6 100644 --- a/shell-completion/zsh/_networkctl +++ b/shell-completion/zsh/_networkctl @@ -1,4 +1,5 @@ #compdef networkctl +# SPDX-License-Identifier: LGPL-2.1+ _networkctl_command(){ local -a _networkctl_cmds diff --git a/shell-completion/zsh/_sd_hosts_or_user_at_host b/shell-completion/zsh/_sd_hosts_or_user_at_host index 282f732..11f94f1 100644 --- a/shell-completion/zsh/_sd_hosts_or_user_at_host +++ b/shell-completion/zsh/_sd_hosts_or_user_at_host @@ -1,4 +1,5 @@ #autoload +# SPDX-License-Identifier: LGPL-2.1+ _alternative \ 'users-hosts:: _user_at_host' \ diff --git a/shell-completion/zsh/_sd_machines b/shell-completion/zsh/_sd_machines index a0039ee..ab35cf8 100644 --- a/shell-completion/zsh/_sd_machines +++ b/shell-completion/zsh/_sd_machines @@ -1,4 +1,5 @@ #autoload +# SPDX-License-Identifier: LGPL-2.1+ __get_machines () { machinectl --full --no-legend --no-pager list | {while read -r a b; do echo $a; done;}; } diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes index 2948f40..3b8850b 100644 --- a/shell-completion/zsh/_sd_outputmodes +++ b/shell-completion/zsh/_sd_outputmodes @@ -1,4 +1,5 @@ #autoload +# SPDX-License-Identifier: LGPL-2.1+ local -a _output_opts _output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat) diff --git a/shell-completion/zsh/_sd_unit_files b/shell-completion/zsh/_sd_unit_files index 5e90ea2..cce4442 100644 --- a/shell-completion/zsh/_sd_unit_files +++ b/shell-completion/zsh/_sd_unit_files @@ -1,4 +1,5 @@ #autoload +# SPDX-License-Identifier: LGPL-2.1+ _sd_unit_files() { local files expl diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index 489793e..47ec997 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -1,4 +1,5 @@ #compdef systemctl +# SPDX-License-Identifier: LGPL-2.1+ (( $+functions[_systemctl_command] )) || _systemctl_command() { diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd index 62114ff..ccac889 100644 --- a/shell-completion/zsh/_systemd +++ b/shell-completion/zsh/_systemd @@ -1,4 +1,5 @@ #compdef systemd-cat systemd-ask-password systemd-cgls systemd-cgtop systemd-detect-virt systemd-machine-id-setup systemd-notify systemd-tty-ask-password-agent +# SPDX-License-Identifier: LGPL-2.1+ local curcontext="$curcontext" state lstate line case "$service" in diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze index 22b4c18..ce22217 100644 --- a/shell-completion/zsh/_systemd-analyze +++ b/shell-completion/zsh/_systemd-analyze @@ -1,4 +1,5 @@ #compdef systemd-analyze +# SPDX-License-Identifier: LGPL-2.1+ _systemd_analyze_set-log-level() { local -a _levels diff --git a/shell-completion/zsh/_systemd-delta b/shell-completion/zsh/_systemd-delta index 757f1b6..44e4cb3 100644 --- a/shell-completion/zsh/_systemd-delta +++ b/shell-completion/zsh/_systemd-delta @@ -1,4 +1,5 @@ #compdef systemd-delta +# SPDX-License-Identifier: LGPL-2.1+ _delta_type() { local -a _delta_types diff --git a/shell-completion/zsh/_systemd-inhibit b/shell-completion/zsh/_systemd-inhibit index 1b3247b..764713e 100644 --- a/shell-completion/zsh/_systemd-inhibit +++ b/shell-completion/zsh/_systemd-inhibit @@ -1,4 +1,5 @@ #compdef systemd-inhibit +# SPDX-License-Identifier: LGPL-2.1+ _systemd_inhibit_command(){ if (( CURRENT == 1 )); then diff --git a/shell-completion/zsh/_systemd-nspawn b/shell-completion/zsh/_systemd-nspawn index 77b2e7c..e0bedee 100644 --- a/shell-completion/zsh/_systemd-nspawn +++ b/shell-completion/zsh/_systemd-nspawn @@ -1,4 +1,5 @@ #compdef systemd-nspawn +# SPDX-License-Identifier: LGPL-2.1+ _nspawn-caps(){ local -a _caps diff --git a/shell-completion/zsh/_systemd-resolve b/shell-completion/zsh/_systemd-resolve index c318ab5..eb7606a 100644 --- a/shell-completion/zsh/_systemd-resolve +++ b/shell-completion/zsh/_systemd-resolve @@ -1,4 +1,5 @@ #compdef systemd-resolve +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run index 5c3e65c..0ad4b27 100644 --- a/shell-completion/zsh/_systemd-run +++ b/shell-completion/zsh/_systemd-run @@ -1,4 +1,5 @@ #compdef systemd-run +# SPDX-License-Identifier: LGPL-2.1+ __systemctl() { local -a _modes diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles index 6ff02e5..0993bca 100644 --- a/shell-completion/zsh/_systemd-tmpfiles +++ b/shell-completion/zsh/_systemd-tmpfiles @@ -1,4 +1,5 @@ #compdef systemd-tmpfiles +# SPDX-License-Identifier: LGPL-2.1+ _arguments \ {-h,--help}'[Show help]' \ diff --git a/shell-completion/zsh/_timedatectl b/shell-completion/zsh/_timedatectl index dfdcfeb..c1ed21e 100644 --- a/shell-completion/zsh/_timedatectl +++ b/shell-completion/zsh/_timedatectl @@ -1,4 +1,5 @@ #compdef timedatectl +# SPDX-License-Identifier: LGPL-2.1+ _timedatectl_set-timezone(){ local -a _timezones diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm index bb23e64..c6bd685 100644 --- a/shell-completion/zsh/_udevadm +++ b/shell-completion/zsh/_udevadm @@ -1,4 +1,5 @@ #compdef udevadm +# SPDX-License-Identifier: LGPL-2.1+ _udevadm_info(){ _arguments \ -- 2.7.4