diff options
Diffstat (limited to '50-mkinitcpio.install')
-rw-r--r-- | 50-mkinitcpio.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/50-mkinitcpio.install b/50-mkinitcpio.install new file mode 100644 index 0000000..c8f51ba --- /dev/null +++ b/50-mkinitcpio.install @@ -0,0 +1,12 @@ +#!/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: |