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/bash | |
kernel_flash_name='plm-notebook' | |
boot_path='/boot' | |
kernel_vmlinuz_file='vmlinuz-linux' | |
kernel_img_files=('intel-ucode.img' 'amd-ucode.img' 'initramfs-linux.img') | |
kernel_cmdline="\\kernels\\$kernel_flash_name\\$kernel_vmlinuz_file.efi initrd=\\kernels\\$kernel_flash_name\\intel-ucode.img initrd=\\kernels\\$kernel_flash_name\\amd-ucode.img initrd=\\kernels\\$kernel_flash_name\\initramfs-linux.img root=UUID=6581314d-6709-416e-9c61-166211b7163e rw rootflags=subvol=arch1-root rd.luks.name=e85a4aea-f191-431c-b6f8-93ba70d95d73=root loglevel=3 quiet" | |
flash_path='/dev/disk/by-id/usb-SanDisk__Cruzer_Fit_4C530000240815113164-0:0' | |
flash_part_path="$flash_path-part1" | |
run_path="/run/$kernel_flash_name.kernel-flash" |
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
[Unit] | |
Description=br-lan init script | |
After=network.target | |
Before=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/etc/br-lan-init.sh start | |
ExecStop=/etc/br-lan-init.sh stop | |
RemainAfterExit=yes |
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/bash | |
set -e | |
boot_vmlinuz_path='/boot/vmlinuz-linux' | |
boot_initramfs_path='/boot/initramfs-linux.img' | |
new_boot_vmlinuz_path="$boot_vmlinuz_path.new" | |
new_boot_initramfs_path="$boot_initramfs_path.new" | |
bak_boot_vmlinuz_path="$boot_vmlinuz_path.bak" | |
bak_boot_initramfs_path="$boot_initramfs_path.bak" |
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
[Interface] | |
PrivateKey = ... | |
Address = ... | |
DNS = ... | |
FwMark = 2901 | |
Table = 2901 | |
PostUp = ip -4 rule add pri 2999 lookup default || true | |
PostUp = ip -4 rule add pri 2010 to 10.0.0.0/8 goto 2999 || true | |
PostUp = ip -4 rule add pri 2010 to 172.16.0.0/12 goto 2999 || true |
OlderNewer