diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-19 14:39:53 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-19 14:39:53 -0400 |
commit | e98c4babea202d692a5dac8c05efc64a44e8aedc (patch) | |
tree | 033df22923a6b09b3395006ed4e2056afc281ff9 /initramfs-tools/hooks | |
parent | 3884276c13d142483b1a018b31f5723e3961965f (diff) |
cause the grok-block hooks to run
Diffstat (limited to 'initramfs-tools/hooks')
-rwxr-xr-x | initramfs-tools/hooks/samizdat | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat new file mode 100755 index 0000000..d9e0974 --- /dev/null +++ b/initramfs-tools/hooks/samizdat | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | [ "$1" = prereqs ] && { echo; exit; } | ||
3 | |||
4 | . /usr/share/initramfs-tools/hook-functions | ||
5 | |||
6 | for f in ./old-school/*; do | ||
7 | copy_exec "$f" /bin | ||
8 | done | ||
9 | |||
10 | path_execs='mountpoint' | ||
11 | for c in $path_execs; do | ||
12 | copy_exec "$(which $c)" /bin | ||
13 | done | ||
14 | |||
15 | copy_exec vol_id.txt /lib/samizdat/vol_id.txt | ||
16 | |||
17 | exit 0 | ||