1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

Drop trailing whitespace

This commit is contained in:
Tollef Fog Heen 2013-03-22 22:51:52 +01:00
parent 86e7b6e3f6
commit 6af274272a
2 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="14dd", ATTR{idProduct}=="0002"
# USB HID devices that are internal to the machine should also be safe to autosuspend # USB HID devices that are internal to the machine should also be safe to autosuspend
ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="removable", GOTO="usb_hid_pm_end" ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="removable", GOTO="usb_hid_pm_end"
ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="unknown", GOTO="usb_hid_pm_end" ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="unknown", GOTO="usb_hid_pm_end"
ACTION=="add", SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", ATTRS{removable}=="fixed", TEST=="../power/control", ATTR{../power/control}="auto" ACTION=="add", SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", ATTRS{removable}=="fixed", TEST=="../power/control", ATTR{../power/control}="auto"

View File

@ -273,7 +273,7 @@ _systemd-nspawn(){
} }
_systemd_inhibit_command(){ _systemd_inhibit_command(){
if (( CURRENT == 1 )); then if (( CURRENT == 1 )); then
compset -q compset -q
_normal _normal
else else
@ -317,7 +317,7 @@ _outputmodes() {
_output_opts=(short short-monotonic verbose export json json-pretty json-see cat) _output_opts=(short short-monotonic verbose export json json-pretty json-see cat)
_describe -t output 'output mode' _output_opts || compadd "$@" _describe -t output 'output mode' _output_opts || compadd "$@"
} }
(( $+functions[_systemctl_command] )) || _systemctl_command() (( $+functions[_systemctl_command] )) || _systemctl_command()
{ {
@ -630,7 +630,7 @@ _journal_none() {
_journal_fields() { _journal_fields() {
local -a _fields cmd local -a _fields cmd
cmd=("journalctl" "-F ${@[-1]}" "2>/dev/null" ) cmd=("journalctl" "-F ${@[-1]}" "2>/dev/null" )
_fields=( ${(f)"$(_call_program fields $cmd[@])"} ) _fields=( ${(f)"$(_call_program fields $cmd[@])"} )
typeset -U _fields typeset -U _fields
_describe 'possible values' _fields _describe 'possible values' _fields
} }
@ -787,8 +787,8 @@ _localectl_set-x11-keymap() {
#_model=( ${(f)"$(echo $_file[2] | awk '/^ / {print $1}')"} ) #_model=( ${(f)"$(echo $_file[2] | awk '/^ / {print $1}')"} )
#_variant=( ${(f)"$(echo $_file[3] | awk '/^ / {print $1}')"} ) #_variant=( ${(f)"$(echo $_file[3] | awk '/^ / {print $1}')"} )
#_options=( ${(f)"$(echo ${_file[4]//:/\\:} | awk '/^ / {print $1}')"} ) #_options=( ${(f)"$(echo ${_file[4]//:/\\:} | awk '/^ / {print $1}')"} )
case $CURRENT in case $CURRENT in
2) _describe layouts _layout ;; 2) _describe layouts _layout ;;
3) _describe models _model;; 3) _describe models _model;;
4) _describe variants _variant;; 4) _describe variants _variant;;
@ -955,7 +955,7 @@ _udevadm_control(){
'--timeout=[The maximum number of seconds to wait for a reply from systemd-udevd.]' \ '--timeout=[The maximum number of seconds to wait for a reply from systemd-udevd.]' \
'--help[Print help text.]' '--help[Print help text.]'
} }
_udevadm_monitor(){ _udevadm_monitor(){
_arguments \ _arguments \
'--kernel[Print the kernel uevents.]' \ '--kernel[Print the kernel uevents.]' \