diff options
48 files changed, 48 insertions, 0 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index c86ec7edc9..34b1b552d9 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 6a770b1b84..aa4c1d74d9 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 87fe473e09..842e4943ff 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 7cf8b6f631..a35ac7f9a0 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 c90a114497..03ee733d7e 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 7cd2494cf7..5a78528d36 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 e0c06a794e..97c91a4ce2 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 776eca4e62..d8d14f889a 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 aebe48304d..7865a99882 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 68e3338471..0c36aaf464 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 bde28efc3e..5a353f7107 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 8c56a1cf9a..45ff7a1f3e 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 8d84042af1..20ff672059 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 0570438660..0f579a6e67 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 f1ed22fd55..7a1b4acc7c 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 cb1732895f..d3933437b3 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 df06c29841..21dca2b966 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 ea4a5e1f43..4f2fbef84f 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 2f0c5f5bd7..5d99775c2d 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 f59482fe23..3f789e80d0 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 4116ba7eca..125cd306f0 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 a57fbd2546..b9d00811e3 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 b828b8dd7c..744a38826b 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 0e1b0a5562..f107005814 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 a425b8c700..883ace47af 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 e469bca958..ea8cfb2dec 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 8c4a354af2..ea86863e5a 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 4a78a2e946..4bffabba96 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 4fdd3a4ae7..6358a64589 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 54c2d456e4..e5ec65b53b 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 6f6ff6e314..03dde9a891 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 92d77109a5..933f4d2e6a 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 acf7463edb..ea485d653c 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 282f7328e4..11f94f1976 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 a0039ee0f8..ab35cf84b3 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 2948f40130..3b8850b3f0 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 5e90ea23c5..cce44423e9 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 489793e8bb..47ec9970e1 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 62114ff095..ccac889244 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 22b4c181a1..ce22217fbc 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 757f1b66fb..44e4cb3791 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 1b3247b2cd..764713e28a 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 77b2e7cd7c..e0bedee2aa 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 c318ab50f1..eb7606af30 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 5c3e65c223..0ad4b27a6f 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 6ff02e5d98..0993bca5a4 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 dfdcfebb3c..c1ed21e565 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 bb23e64d24..c6bd685aee 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 \ |