Merge pull request #89 from wickedyoda/macos-update

Macos update
This commit is contained in:
WickedYoda authored and GitHub committed 2026-08-05 13:20:24 -05:00
commit 1e25e36ce6
195 files changed
+152301

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
sudo mount -a
rsync -r --progress --delete /home/pi/nasdownloadedmedia/Movies /home/pi/ap-share/public
+45
View File
@@ -0,0 +1,45 @@
<<<<<<< HEAD
# raspberrypi
## Purpose
This directory contains files related to **raspberrypi**.
## Contents
- `raspberry_pi_fstab.sh`
- `rasp_pi_install_apps.sh`
- `Media_to_ap-share.sh`
- `public_to_usb.sh`
## Usage
- Review each script or configuration file before running
- Some scripts may require **root or sudo**
- Paths and variables may need adjustment for your environment
## Notes
- This folder is part of the **public-setupfiles** repository
- Files are provided as-is for reference or automation
## Safety
Always back up data before running scripts that modify system state.
=======
# raspberrypi
## Overview
This directory is part of the **public-setupfiles** repository.
It contains scripts, configuration files, or resources related to **raspberrypi**.
## Usage
- Review scripts before execution
- Some files may require **root or sudo privileges**
- Paths, variables, or credentials may need customization
## Logging & Output
Scripts may generate logs or output files in the same directory or system locations.
## Safety Notes
- Always back up important data before running scripts
- Test in a non-production environment when possible
- Use at your own risk
---
>>>>>>> main
+3
View File
@@ -0,0 +1,3 @@
sudo mount -a
rsync -r --progress --exclude '/vm' --exclude '/proxmox' --exclude '/.recycle' --delete /home/pi/naspublic/ /media/pi/4tb/public
+60
View File
@@ -0,0 +1,60 @@
!/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
+15
View File
@@ -0,0 +1,15 @@
# ----------------------------------------------------------------------
# | creates folders for shares, Install fstab entries, maps mounts to nas|
# ----------------------------------------------------------------------
sudo cp /etc/fstab /etc/ftab.orig.backup
# cd ~/home/pi
sudo mkdir /home/pi/naspublic
sudo mkdir /home/pi/nasdownloadedmedia
sudo echo "//nas/public /home/pi/naspublic cifs vers=2.0,username=admin,password=mypassword,file_mode=0777,dir_mode=0777 0 0
//nas/DownloadedMedia /home/pi/nasdownloadedmedia cifs vers=2.0,username=traver,password=mypassword,file_mode=0777,dir_mode=0777 0 0" >> /etc/fstab
sudo mount -a