summaryrefslogtreecommitdiffstats
path: root/50-mkinitcpio.install
blob: c8f51baeeaa881ed1b30c3a0283212db16fb1705 (plain)
1
2
3
4
5
6
7
8
9
10
11
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: