1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
systemd/src
Zbigniew Jędrzejewski-Szmek cc5549ca12 scripts: use 4 space indentation
We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed.
4 sp was the most common, in particular the majority of scripts under test/
used that. Let's standarize on 4 sp, because many commandlines are long and
there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp
also seems to be the default indentation, so this will make it less likely
that people will mess up if they don't load the editor config. (I think people
often use vi, and vi has no support to load project-wide configuration
automatically. We distribute a .vimrc file, but it is not loaded by default,
and even the instructions in it seem to discourage its use for security
reasons.)

Also remove the few vim config lines that were left. We should either have them
on all files, or none.

Also remove some strange stuff like '#!/bin/env bash', yikes.
2019-04-12 08:30:31 +02:00
..
ac-power
activate tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
analyze Merge pull request #12188 from poettering/coccinelle-fixlets 2019-04-03 01:46:54 +09:00
ask-password
backlight tree-wide: (void)ify a few unlink() and rmdir() 2019-03-27 18:09:56 +01:00
basic scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
binfmt headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
boot scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
busctl
cgls systemd-cgls: typo error in help command 2019-03-19 10:27:28 +01:00
cgroups-agent
cgtop tree-wide: use SYNTHETIC_ERRNO() where appropriate 2019-04-02 14:54:42 +02:00
core tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
coredump tree-wide: (void)ify a few unlink() and rmdir() 2019-03-27 18:09:56 +01:00
cryptsetup cryptsetup-generator: set high OOM score for systemd-cryptsetup instances 2019-03-28 15:52:41 +01:00
debug-generator headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
delta util: split out nulstr related stuff to nulstr-util.[ch] 2019-03-14 13:25:52 +01:00
detect-virt
dissect
environment-d-generator
escape
firstboot util-lib: when copying files make sure to apply some chattrs early, some late 2019-03-28 18:43:04 +01:00
fsck fsck: copy out device argument from argv[] before forking 2019-03-29 08:18:25 +01:00
fstab-generator fstab-generator: use DefaultDependencies=no for /sysroot mounts 2019-04-11 17:04:24 +02:00
fuzz headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
getty-generator
gpt-auto-generator
hibernate-resume headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
hostname headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
hwdb
id128 id128: no command accepts additional arguments 2019-03-15 18:53:23 +09:00
import basic: add new helper call empty_or_dash_to_null() 2019-04-08 12:11:11 +02:00
initctl headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
journal scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
journal-remote tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
kernel-install kernel-install: add a check that the vmlinuz arg is sane 2019-04-03 11:25:40 +02:00
libsystemd tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
libsystemd-network ipv4ll: do not reset seed generation counter on restart 2019-04-02 10:27:30 +02:00
libudev
locale basic: add new helper call empty_or_dash_to_null() 2019-04-08 12:11:11 +02:00
login inhibit: fix argv[] usage 2019-04-08 16:57:39 +02:00
machine basic: add new helper call empty_or_dash_to_null() 2019-04-08 12:11:11 +02:00
machine-id-setup
modules-load
mount headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
network tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
notify
nspawn nspawn: create boot_id and kmsg files for overmounting in /run, not /tmp 2019-04-07 08:55:31 +02:00
nss-myhostname nss-myhostname: unify code that handles NOT_FOUND case 2019-04-11 11:13:10 +02:00
nss-mymachines nss-mymachines: return NO_RECOVERY instead of NO_DATA when we fail to do D-Bus and similar 2019-04-11 11:13:10 +02:00
nss-resolve nss-resolve: list more errors as cause for fallback 2019-04-11 11:13:11 +02:00
nss-systemd headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
partition tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
path
portable portabled: fix method name 2019-04-03 17:24:12 +02:00
quotacheck headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
random-seed
rc-local-generator
remount-fs
reply-password util: move some raw memory functions from string-util.h → memory-util.h 2019-03-14 13:25:51 +01:00
resolve tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
rfkill headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
run core: optionally, trigger .timer units on timezone and clock changes 2019-04-02 08:20:10 +02:00
run-generator headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
shared scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
shutdown tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
sleep headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
socket-proxy tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
stdio-bridge stdio-bridge: slightly optimize formatting of structure 2019-03-19 15:29:44 +01:00
sulogin-shell
sysctl headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
system-update-generator
systemctl systemctl: print a more accurate error message when we can 2019-04-02 05:44:12 +09:00
systemd Merge pull request #12037 from poettering/oom-state 2019-04-11 18:57:47 +02:00
sysusers tree-wide: introduce empty_or_dash() helper 2019-04-08 12:03:33 +02:00
sysv-generator
test tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0 2019-04-11 19:00:37 +02:00
time-wait-sync
timedate headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
timesync headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
tmpfiles tree-wide: introduce empty_or_dash() helper 2019-04-08 12:03:33 +02:00
tty-ask-password-agent ask-passwd: slightly optimize handling arguments 2019-04-04 08:07:03 +02:00
udev scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
update-done headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
update-utmp headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
user-sessions headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
vconsole headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
veritysetup
version
volatile-root mount-util: beef up bind_remount_recursive() to be able to toggle more than MS_RDONLY 2019-03-25 19:33:55 +01:00