Harald Hoyer
df6bb5e959
shutdown: sleep a little, if a process was killed
...
If a process (maybe plymouth) was still pinning /oldroot, then shutdown
would
- kill -9 $pid
- umount_a
- umount_a
in a very short timeframe. A small sleep hopefully lets the scheduler free
up /oldroot in the mean time.
7 years ago
Harald Hoyer
54e09dfb72
shutdown: guard against read-only /run
...
remount the switch rooted /run writeable again.
9 years ago
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 years ago
Harald Hoyer
8bcfd683bd
*/module-setup.sh: add comments for dracut called functions
12 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
d8b627b9dc
shutdown: call "losetup -D" on shutdown
12 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
2560da6be2
enable shutdown module by default
14 years ago
Harald Hoyer
168fa7e571
base: add shutdown script to be called from systemd
14 years ago