This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
bye () { | |
printf '%s\n' "$1" | |
exit 1 | |
} | |
blkid_type= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
: <<'README' | |
Make dropbear not start with 'nodropbear' or 'dropbear=no' kernel arg. | |
Put this script under /etc/initramfs-tools/scripts/init-top/ and update | |
initramfs. | |
README |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
: <<'README' | |
This is a fix for a well-known problem [1] with dropbear-initramfs+netplan | |
combo. | |
When dropbear starts, it enables networking [2]. This results in netplan configs | |
for available ifaces created under /run/netplan. After unlocking, the configs | |
are still there preventing networkmanager from picking ifaces up: by default, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- code 0 1 (1) | |
01 . | |
-- id 1 5 | |
4344 3030 31 CD001 | |
-- version 6 1 (1) | |
01 . | |
-- unused1 7 1 | |
00 . | |
-- system_id 8 32 | |
4e65 7442 5344 2020 2020 2020 2020 2020 NetBSD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- code 0 1 (1) | |
01 . | |
-- id 1 5 | |
4344 3030 31 CD001 | |
-- version 6 1 (1) | |
01 . | |
-- unused1 7 1 | |
00 . | |
-- system_id 8 32 | |
2020 2020 2020 2020 2020 2020 2020 2020 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# MIT license (c) 2024 https://github.com/slowpeek | |
# Homepage: https://gist.github.com/slowpeek/06bfe5f00900f09ad015ddf6da1d0714 | |
# Minimal tool to compress/decompress mozlz4 format | |
import sys | |
import lz4.block |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHA256:LHNAzUm6ovnBohTWnIWQK+oZTBHPDU+AUSRCqAv4wK0 | |
SHA256:M9UoNMPuI9GVkrw933+W7HhZ5rYuxexeS+9jqYP5nLU | |
SHA256:vGcjEt2FahKM794sAXh4FEvQX5x4RH8sW/8lOxBEz6s | |
SHA256:8is/KAGuJTb8+mPKK9Kn5YKITKKcePU1j5Ddz75H1D0 |
OlderNewer