]> git.ipfire.org Git - thirdparty/dracut.git/blame - 50-dracut.install
add 50-dracut.install
[thirdparty/dracut.git] / 50-dracut.install
CommitLineData
9dd9d81f
HH
1#!/bin/sh
2# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3# ex: ts=8 sw=4 sts=4 et filetype=sh
4
5ret=0
6case "$1" in
7 add)
8 dracut "$3"/initrd "$2"
9 ret=$?
10 ;;
11 remove)
12 rm -f "$3"/initrd
13 ret=$?
14 ;;
15esac
16exit $ret