diff options
Diffstat (limited to 'sys-boot/myinitramfs/files/gen.sh')
-rwxr-xr-x | sys-boot/myinitramfs/files/gen.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys-boot/myinitramfs/files/gen.sh b/sys-boot/myinitramfs/files/gen.sh index 3341d93..b633731 100755 --- a/sys-boot/myinitramfs/files/gen.sh +++ b/sys-boot/myinitramfs/files/gen.sh @@ -6,23 +6,12 @@ shift cd "$(dirname "$(readlink -f "$0")")" -INIT="./init.plain" - -while [ $# -gt 0 ]; do - case "$1" in - encrypted) - INIT="./init.enc" - ;; - esac - shift -done - LIST="$(mktemp)" # Base list cp baselist "$LIST" # Init script -echo "file /init $INIT 755 0 0" >> "$LIST" +echo "file /init ./init.enc 755 0 0" >> "$LIST" echo >> "$LIST" # Executables while read EXE; do |