diff options
Diffstat (limited to 'initramfs-tools/hooks/samizdat')
-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 | ||