diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-11 23:21:36 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-18 15:39:04 +0200 |
commit | b7c1887306c1067984b5e5b564f25a12631b8162 (patch) | |
tree | 9c8320a2f99da70ce539d744e3c047f22a0ca33b /install/shutdown | |
parent | 261b731e8fb918309f2740b5262d9678378491fa (diff) | |
download | mkinitcpio-b7c1887306c1067984b5e5b564f25a12631b8162.tar.gz mkinitcpio-b7c1887306c1067984b5e5b564f25a12631b8162.tar.xz |
use new API for install hooks
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/shutdown')
-rw-r--r-- | install/shutdown | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/install/shutdown b/install/shutdown index 600209e..e9a5d93 100644 --- a/install/shutdown +++ b/install/shutdown @@ -1,10 +1,11 @@ #!/bin/bash build() { - BINARIES='cp lsblk' - SCRIPT='shutdown' - + add_binary cp + add_binary lsblk add_file "/usr/lib/initcpio/shutdown" "/shutdown" + + add_runscript } help() { |