2022-10-18 19:06:48 +00:00
|
|
|
#!/bin/execlineb -P
|
|
|
|
s6-envdir -i /etc/s6/env/path
|
|
|
|
importas -i PATH PATH
|
2022-10-21 18:41:16 +00:00
|
|
|
s6-envdir -i /etc/s6/env/mount.boot-efi
|
2022-10-18 19:06:48 +00:00
|
|
|
importas -i SRC SRC
|
|
|
|
importas -i FSTYPE FSTYPE
|
|
|
|
importas -i OPTS OPTS
|
|
|
|
emptyenv
|
|
|
|
|
|
|
|
export PATH $PATH
|
|
|
|
define DEST /boot/efi
|
|
|
|
|
|
|
|
fdclose 1
|
|
|
|
fdclose 2
|
|
|
|
|
|
|
|
foreground {
|
2022-10-21 18:41:16 +00:00
|
|
|
exec mkdir -p $DEST
|
|
|
|
} exec mount -t $FSTYPE -o $OPTS $SRC $DEST
|