BUT2/SCR/SCR1.2/TP09/TRee/lib/kernel/install.d/50-mkinitcpio.install

13 lines
173 B
Plaintext
Raw Permalink Normal View History

2023-10-23 13:23:36 +02:00
#!/bin/sh
case $1 in
add)
mkinitcpio -k "$2" -g "$3"/initrd
;;
remove)
rm -f -- "$3"/initrd
;;
esac
# vim: set ft=sh ts=4 sw=4 et: