mirror of
https://github.com/systemd/systemd.git
synced 2025-03-24 14:50:17 +03:00
Add SPDX license headers to shell completion scripts
This commit is contained in:
parent
d9215cd838
commit
7059062c2f
@ -1,4 +1,5 @@
|
||||
# bootctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# busctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# coredumpctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# hostnamectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# journalctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# kernel-install(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# localectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# loginctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# machinectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# networkctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-analyze(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-cat(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-cgls(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-cgtop(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-delta(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-detect-virt(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-nspawn(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-path(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-resolve(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# systemd-run(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# timedatectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
# udevadm(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# This file is part of systemd.
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef bootctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
(( $+functions[_bootctl_command] )) || _bootctl_command()
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef busctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
# busctl(1) completion -*- shell-script -*-
|
||||
#
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef coredumpctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_coredumpctl_command(){
|
||||
local -a _coredumpctl_cmds
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef hostnamectl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_hostnamectl_set-hostname() {
|
||||
if (( CURRENT <= 3 )); then
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef journalctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_list_fields() {
|
||||
local -a journal_fields
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef kernel-install
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_images(){
|
||||
if [[ "$words[2]" == "remove" ]]; then
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef localectl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_localectl_set-locale() {
|
||||
local -a _locales locale_fields
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef loginctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_loginctl_all_sessions() {
|
||||
local session description
|
||||
|
@ -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;}
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef networkctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_networkctl_command(){
|
||||
local -a _networkctl_cmds
|
||||
|
@ -1,4 +1,5 @@
|
||||
#autoload
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_alternative \
|
||||
'users-hosts:: _user_at_host' \
|
||||
|
@ -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;};
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -1,4 +1,5 @@
|
||||
#autoload
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_sd_unit_files() {
|
||||
local files expl
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemctl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
(( $+functions[_systemctl_command] )) || _systemctl_command()
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-analyze
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_systemd_analyze_set-log-level() {
|
||||
local -a _levels
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-delta
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_delta_type() {
|
||||
local -a _delta_types
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-inhibit
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_systemd_inhibit_command(){
|
||||
if (( CURRENT == 1 )); then
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-nspawn
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_nspawn-caps(){
|
||||
local -a _caps
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-resolve
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-run
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
__systemctl() {
|
||||
local -a _modes
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-tmpfiles
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_arguments \
|
||||
{-h,--help}'[Show help]' \
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef timedatectl
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_timedatectl_set-timezone(){
|
||||
local -a _timezones
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef udevadm
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
_udevadm_info(){
|
||||
_arguments \
|
||||
|
Loading…
x
Reference in New Issue
Block a user