dracut/50-dracut.install
2013-03-07 10:08:35 +01:00

17 lines
265 B
Bash
Executable File

#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
ret=0
case "$1" in
add)
dracut "$3"/initrd "$2"
ret=$?
;;
remove)
rm -f "$3"/initrd
ret=$?
;;
esac
exit $ret