Harald Hoyer
|
75d758e8f1
|
style: shfmt -s reformat
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w -s .
```
|
2021-03-13 20:10:43 +01:00 |
Harald Hoyer
|
9a52c3fdb0
|
style: shfmt reformat
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
|
2021-03-13 20:10:43 +01:00 |
Harald Hoyer
|
aa225ca3b0
|
fix: shellcheck for dracut-logger.sh
|
2021-02-15 11:00:37 +01:00 |
Harald Hoyer
|
62c00a8896
|
dracut.sh: only create one TMPDIR
use DRACUT_TMPDIR subdirs for everything
|
2015-11-25 14:21:33 +01:00 |
Harald Hoyer
|
8e1c4b354c
|
dracut-logger: prefix stderr output with "dracut: "
dnf updates of the kernel execute dracut in %post.
For the user it is not possible to distinguish the dracut output from
other error messages.
|
2015-11-09 15:35:53 +01:00 |
Harald Hoyer
|
e50f91e600
|
use mktemp "-p" instead of "--tmpdir" for busybox
|
2015-07-15 11:47:43 +02:00 |
Harald Hoyer
|
3639fe543c
|
lower the log level for dfatal
|
2015-07-02 11:36:33 +02:00 |
Harald Hoyer
|
6d58fa27a4
|
change "while read x" to cope with EOF without newline
while read x || [ -n "$x" ]
should do the trick
|
2015-04-28 11:39:15 +02:00 |
Harald Hoyer
|
967cc19ab1
|
remove all vim and emacs code format comments
|
2014-08-29 13:38:47 +02:00 |
Harald Hoyer
|
856d659016
|
dracut-logger.sh: systemd-cat only understands prio 0-7
|
2014-01-22 11:48:45 +01:00 |
Harald Hoyer
|
283d385fbd
|
dracut-logger.sh: do not log to syslog/kmsg/journal for UID != 0
Don't clutter the system log with user actions.
Also check, if systemd-cat works, before using it.
|
2013-10-02 12:48:57 +02:00 |
Harald Hoyer
|
6a877a79c4
|
dracut-logger.sh: check is journald.socket is active
before using systemd-cat, make sure someone is listening
|
2013-08-28 20:01:54 +02:00 |
Harald Hoyer
|
3e70a25bcf
|
dracut-logger.sh: saveguard logger with --
|
2013-08-12 12:44:10 +02:00 |
Harald Hoyer
|
3e6c9011d0
|
dracut-logger.sh: do not unset logging messages if sysloglvl is set
|
2013-08-09 15:47:30 +02:00 |
Harald Hoyer
|
06ca27cdf5
|
dracut-logger.sh: do not use systemd-cat, if no /run/systemd/journal
|
2013-07-31 13:12:41 +02:00 |
Harald Hoyer
|
6b1e7a6ca4
|
dracut: use sysloglvl for systemd-cat logging
|
2013-07-19 09:46:00 +02:00 |
Harald Hoyer
|
bbaa0d5917
|
Use systemd-cat for logging on systemd systems, if logfile is empty
|
2013-07-19 09:34:45 +02:00 |
Harald Hoyer
|
36c34f4e71
|
Don't use do syncheck for target all and refine syncheck
instead of "dash -n" we now use "bash --posix -n"
we also check for "[[ " in posix shell files
|
2013-06-13 11:19:26 +02:00 |
Harald Hoyer
|
600c876968
|
consistently lowercase "dracut"
|
2012-10-10 14:15:11 +02:00 |
Harald Hoyer
|
5596b70bd0
|
dracut-logger.sh: don't check for *lvl==0 in dlog_init()
|
2012-09-24 13:05:44 +02:00 |
Harald Hoyer
|
b47d7a5fd4
|
dracut-logger.sh: empty functions for log funcs, which are below level
|
2012-06-29 12:41:26 +02:00 |
Harald Hoyer
|
5d897c82b9
|
dracut-logger.sh: use (( )) for numeric comparisons
|
2012-06-29 12:41:26 +02:00 |
Harald Hoyer
|
552ecca6db
|
Renamed all shell scripts to *.sh
|
2012-02-22 15:15:21 +01:00 |