added stuff
This commit is contained in:
30
rpi/init.sh
Normal file
30
rpi/init.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
PKGS="
|
||||
bash-completion
|
||||
build-essential
|
||||
byobu
|
||||
command-not-found
|
||||
cryptsetup-bin
|
||||
daemontools
|
||||
golang-go
|
||||
iptables-persistent
|
||||
iptraf-ng
|
||||
jq
|
||||
less
|
||||
lsof
|
||||
mosh
|
||||
ntp
|
||||
pbzip2
|
||||
pv
|
||||
runit
|
||||
runit-systemd
|
||||
socat
|
||||
vim
|
||||
wget
|
||||
"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y $PKGS
|
||||
6
rpi/setup-keys.sh
Normal file
6
rpi/setup-keys.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
KEY_URL="https://sneak.cloud/authorized_keys"
|
||||
|
||||
curl -fLo /root/.ssh/authorized_keys --create-dirs $KEY_URL
|
||||
curl -fLo /home/pi/.ssh/authorized_keys --create-dirs $KEY_URL
|
||||
Reference in New Issue
Block a user