testing more
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# install bash and only bash so that the setup scripts can assume bash
|
||||
apt update
|
||||
apt install -y bash
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt update
|
||||
apt -y install ntpdate
|
||||
ntpdate time.apple.com
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
PKGS="$(cat $DIR/packages.txt)"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
apt update
|
||||
|
||||
apt upgrade -y
|
||||
|
||||
for PKG in $PKGS ; do
|
||||
apt install -y $PKG
|
||||
done
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt update
|
||||
apt -y install command-not-found
|
||||
apt-file update
|
||||
update-command-not-found
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt update && apt install -y curl
|
||||
|
||||
KEY_URL="https://sneak.cloud/authorized_keys"
|
||||
curl -fLo /root/.ssh/authorized_keys --create-dirs $KEY_URL && \
|
||||
passwd -d root
|
||||
|
||||
curl -fLo /home/pi/.ssh/authorized_keys --create-dirs $KEY_URL && \
|
||||
passwd -d pi
|
||||
|
||||
chown -R pi:pi /home/pi/.ssh
|
||||
@@ -0,0 +1,40 @@
|
||||
apt-transport-https
|
||||
bash-completion
|
||||
build-essential
|
||||
byobu
|
||||
ca-certificates
|
||||
command-not-found
|
||||
cryptsetup-bin
|
||||
curl
|
||||
daemontools
|
||||
dirmngr
|
||||
dnsutils
|
||||
gnupg-agent
|
||||
gnupg2
|
||||
golang-go
|
||||
haveged
|
||||
inetutils-ping
|
||||
iptables-persistent
|
||||
iptraf-ng
|
||||
jq
|
||||
less
|
||||
lsof
|
||||
man-db
|
||||
mosh
|
||||
nmap
|
||||
ntp
|
||||
opensc
|
||||
pbzip2
|
||||
pcscd
|
||||
pinentry-curses
|
||||
pv
|
||||
rsync
|
||||
runit
|
||||
runit-systemd
|
||||
scdaemon
|
||||
screen
|
||||
socat
|
||||
software-properties-common
|
||||
usbmount
|
||||
vim
|
||||
wget
|
||||
1
fix-raspian-defaults/root.overlay/etc/default/crda
Normal file
1
fix-raspian-defaults/root.overlay/etc/default/crda
Normal file
@@ -0,0 +1 @@
|
||||
REGDOMAIN=US
|
||||
10
fix-raspian-defaults/root.overlay/etc/default/keyboard
Normal file
10
fix-raspian-defaults/root.overlay/etc/default/keyboard
Normal file
@@ -0,0 +1,10 @@
|
||||
# KEYBOARD CONFIGURATION FILE
|
||||
|
||||
# Consult the keyboard(5) manual page.
|
||||
|
||||
XKBMODEL="pc105"
|
||||
XKBLAYOUT="us"
|
||||
XKBVARIANT=""
|
||||
XKBOPTIONS=""
|
||||
|
||||
BACKSPACE="guess"
|
||||
1
fix-raspian-defaults/root.overlay/etc/default/locale
Normal file
1
fix-raspian-defaults/root.overlay/etc/default/locale
Normal file
@@ -0,0 +1 @@
|
||||
LANG=en_US.UTF-8
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Run user provided scripts on boot
|
||||
ConditionPathExists=/usr/lib/raspi-ini/run-parts.sh
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/lib/raspi-ini/run-parts.sh
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Prevent *.sh from returning itself if there are no matches
|
||||
shopt -s nullglob
|
||||
|
||||
# Run every per-once script
|
||||
run-parts --regex '.*\.sh$' /boot/per-once.d |
|
||||
|
||||
# Rename every per-once script
|
||||
for f in /boot/per-once.d/*.sh; do
|
||||
mv $f $(dirname $f)/$(basename $f .sh).$(date +%F@%H.%M.%S)
|
||||
done
|
||||
|
||||
# Run every per-boot script
|
||||
run-parts --regex '.*\.sh$' /boot/per-boot.d
|
||||
Reference in New Issue
Block a user