22 lines
347 B
Bash
Executable File
22 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
PREREQ=""
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
# Begin real processing below this line
|
|
|
|
manual_add_modules tun
|
|
copy_exec /usr/bin/yggdrasil /sbin/yggdrasil
|
|
copy_file "yggdrasil config" /etc/yggdrasil-initramfs/yggdrasil.conf /etc/yggdrasil.conf
|
|
exit 0
|