
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
#!/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 |
Loading…
Reference in new issue