- Fix CRLF line endings (SC1017) in 10 shell scripts - Add shebangs (SC2148) to 5 scripts missing them - Fix unquoted variables (SC2086) in kali-updates.sh - Add shellcheck disable directive for intentional eval usage - Fix missing space after ! in observium/custom_install.sh - Add security scan reports to .gitignore-safe location
61 lines
1.7 KiB
Bash
61 lines
1.7 KiB
Bash
#!/bin/bash
|
|
!/bin/bash
|
|
|
|
# ----------------------------------------------------------------------
|
|
# | Add repos |
|
|
# ----------------------------------------------------------------------
|
|
|
|
# ----------------------------------------------------------------------
|
|
# | Update sources |
|
|
# ----------------------------------------------------------------------
|
|
|
|
sudo apt-get -y update
|
|
sudo apt-get -y dist-upgrade
|
|
sudo apt-get -y full-upgrade
|
|
|
|
# ----------------------------------------------------------------------
|
|
# | Install apps |
|
|
# ----------------------------------------------------------------------
|
|
|
|
sudo apt-get -y install \
|
|
wireshark\
|
|
nmap \
|
|
openvpn \
|
|
etherape \
|
|
remmina \
|
|
monitorix \
|
|
samba-common-bin \
|
|
openssh-server \
|
|
smbclient \
|
|
cifs-utils \
|
|
exfat-fuse \
|
|
cups \
|
|
software-properties-common \
|
|
curl \
|
|
unattended-upgrades \
|
|
cron-apt \
|
|
putty \
|
|
gpart \
|
|
deja-dup \
|
|
git \
|
|
curl \
|
|
libgconf-2-4
|
|
|
|
|
|
# ----------------------------------------------------------------------
|
|
# | Install plugin for Netflix and video play on Pi |
|
|
# ----------------------------------------------------------------------
|
|
|
|
curl -fsSL https://pi.vpetkov.net -o ventz-media-pi
|
|
sh ventz-media-pi
|
|
|
|
# ----------------------------------------------------------------------
|
|
# | Complete updates and finalize |
|
|
# ----------------------------------------------------------------------
|
|
|
|
sudo apt-get -y update
|
|
sudo apt-get -y dist-upgrade
|
|
sudo apt-get -y full-upgrade
|
|
sudo apt -y autoremove
|
|
sudo apt -y clean
|
|
sudo apr -y purge |