Compare commits
No commits in common. "beta" and "alpha" have entirely different histories.
38
chromium-profile-create.sh
Normal file
38
chromium-profile-create.sh
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# Chromium - Profile - Create
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 1.0.2.6
|
||||||
|
|
||||||
|
|
||||||
|
# Chromium profile name
|
||||||
|
echo "Enter Chromium profile name (no spaces):"
|
||||||
|
echo ""
|
||||||
|
read PRF
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Chromium profile friendly name
|
||||||
|
echo "Enter Chromium profile friendly name:"
|
||||||
|
echo ""
|
||||||
|
read FRN
|
||||||
|
|
||||||
|
# Create Chromium profile
|
||||||
|
mkdir $HOME/.config/chromium/${PRF}/
|
||||||
|
echo "[Desktop Entry]" >\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Name=Chromium (${FRN})" >>\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Comment=" >> $HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Exec=chromium --user-data-dir=$HOME/.config/chromium/${PRF}" >>\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Terminal=false" >>\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Type=Application" >>\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Icon=chromium" >> $HOME/.local/share/applications/chromium-${PRF}.desktop
|
||||||
|
echo "Categories=Network;" >>\
|
||||||
|
$HOME/.local/share/applications/chromium-${PRF}.desktop
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# Duplicate Check
|
# Duplicate Check
|
||||||
# Version: 1.0.0-beta.1
|
# Version: 0.15.0
|
||||||
|
|
||||||
# Copyright 2025 Jake Winters
|
# Copyright 2025 Jake Winters
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
19
efibootmgr-entry-create.sh
Normal file
19
efibootmgr-entry-create.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# efibootmgr - Boot Entry - Create
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 1.0.3.5
|
||||||
|
|
||||||
|
|
||||||
|
doas efibootmgr\
|
||||||
|
--disk /dev/nvme0n1\
|
||||||
|
--part 1\
|
||||||
|
--create\
|
||||||
|
--label "custom"\
|
||||||
|
--loader '\EFI\custom\vmlinuz'\
|
||||||
|
--unicode\
|
||||||
|
'root=UUID=[REDACTED] rd.luks.uuid=[REDACTED] quiet splash initrd=\EFI\custom\initramfs.img'
|
20
file-rename-uuid.sh
Normal file
20
file-rename-uuid.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# File - Rename - UUID
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 1.0.2.4
|
||||||
|
|
||||||
|
|
||||||
|
# Rename all files in current directory to UUIDs
|
||||||
|
for FILE in *
|
||||||
|
do
|
||||||
|
if [ -f "$FILE" ];then
|
||||||
|
ID=`uuidgen`
|
||||||
|
EXTENSION=${FILE#*.}
|
||||||
|
mv -v "$FILE" "$ID"."$EXTENSION"
|
||||||
|
fi
|
||||||
|
done
|
15
ip-enable.sh
Normal file
15
ip-enable.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/env zsh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# IP Address - Enable
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 0.0.4.4
|
||||||
|
|
||||||
|
|
||||||
|
doas zsh -c\
|
||||||
|
"ip link set enp37s0 up &&\
|
||||||
|
ip addr add 192.168.1.30/24 dev enp37s0 &&\
|
||||||
|
ip route add default via 192.168.1.1"
|
27
kernel-update.sh
Normal file
27
kernel-update.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# Kernel - Update
|
||||||
|
|
||||||
|
# Copyright 2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 1.0.3.10
|
||||||
|
|
||||||
|
|
||||||
|
major=$(cat Makefile | grep -m 1 "VERSION = " | sed 's/VERSION = //g')
|
||||||
|
minor=$(cat Makefile | grep -m 1 "PATCHLEVEL = " | sed 's/PATCHLEVEL = //g')
|
||||||
|
patch=$(cat Makefile | grep -m 1 "SUBLEVEL = " | sed 's/SUBLEVEL = //g')
|
||||||
|
localversion=$(cat .config | grep "CONFIG_LOCALVERSION=" | sed 's/CONFIG_LOCALVERSION="//g' | sed 's/"//g')
|
||||||
|
|
||||||
|
KVER=$major.$minor.$patch$localversion
|
||||||
|
|
||||||
|
|
||||||
|
doas zsh -c\
|
||||||
|
"mount /dev/nvme0n1p1 /boot/ &&\
|
||||||
|
make --jobs 4 &&\
|
||||||
|
make install &&\
|
||||||
|
make modules_install &&\
|
||||||
|
dracut --kver=${KVER} --compress=zstd --force -a crypt &&\
|
||||||
|
grub-mkconfig -o /boot/grub/grub.cfg &&\
|
||||||
|
umount /boot/"
|
19
maint.sh
Normal file
19
maint.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
# Inferencium
|
||||||
|
# Maintenance
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Jake Winters
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 1.0.1.6
|
||||||
|
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
doas zsh -c \
|
||||||
|
"emerge --sync;
|
||||||
|
sleep 10;
|
||||||
|
eix-update;
|
||||||
|
emerge --update --newuse --changed-use --with-bdeps=y @world;
|
||||||
|
emerge --depclean"
|
Loading…
x
Reference in New Issue
Block a user