diff --git a/ubuntu-20.04/home/.bashrc b/ubuntu-20.04/home/.bashrc index 6b1a01f..39be893 100644 --- a/ubuntu-20.04/home/.bashrc +++ b/ubuntu-20.04/home/.bashrc @@ -171,8 +171,8 @@ alias y='idok -port $((RANDOM+2000))' # gqview ui? #export QT_SCALE_FACTOR=2 MANPATH=$MANPATH:$HOME/share/man -if [ -f ~/.mysqlrootpassword ]; then - export mysqlrootpass=$(cat ~/.mysqlrootpassword) +if [ -f ~/.passwords ]; then + . ~/.passwords fi cat </dev/null >/dev/null @@ -214,6 +214,7 @@ cat </dev/null >/dev/null # => # key { [ Pointer_Button2 ] }; perl -pe '/key / && s/\[.*\]/ [ Pointer_Button2 ]/' | + perl -pe '/key / && s/\[.*\]/ [ Pointer_Button1 ]/' | sed -e '/interpret KP_/,/};/d' | # Replace numpad , with . sed -e 's/ KP_Separator / period /' | @@ -235,7 +236,9 @@ IO() { perl -ne 'BEGIN { $| = 1; $string = shift } s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$3$9$21/ || - s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$4$5$16/; + s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$4$5$16/ + || + s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$6$7$14/; /Device/ and print and next; m^$string^ and print; ' $string; @@ -244,7 +247,20 @@ ORACLE_HOME=/usr/lib/oracle/19.6/client64 PATH=$PATH:$ORACLE_HOME/bin export ORACLE_HOME export ORACLE_SID=XE -ppid() { ps -o ppid -p "$@" | tail -n1; } +ppid() { + for _pid in "$@" ; do + ps -o ppid -p "$_pid" | tail -n1; + done +} # Add dotnet + go binaries export PATH="$PATH:$HOME/.dotnet/tools:$HOME/go/bin" + +PLAN9=/usr/local/plan9 export PLAN9 +PATH=$PATH:$PLAN9/bin export PATH +export DRAC_HOST=drac.lan +LBRY_YOUTUBEDL="torsocks yt-dlp" +export LBRY_YOUTUBEDL +YOUTUBE="yt-dlp" +export YOUTUBE +export SMALLDISK=/mnt/ram diff --git a/ubuntu-20.04/usr/share/initramfs-tools/scripts/local-top/cryptroot b/ubuntu-20.04/usr/share/initramfs-tools/scripts/local-top/cryptroot index a085ef4..cd67f60 100644 --- a/ubuntu-20.04/usr/share/initramfs-tools/scripts/local-top/cryptroot +++ b/ubuntu-20.04/usr/share/initramfs-tools/scripts/local-top/cryptroot @@ -1,6 +1,8 @@ #!/bin/sh # Search for cryptkey.txt +# Run: +# update-initramfs -u PREREQ="cryptroot-prepare"