Final commit for Samba? One can hope.

This commit is contained in:
nagumii 2025-01-29 18:51:25 +02:00
parent 93f086d66c
commit c8e5fbd8db
4 changed files with 15 additions and 11 deletions

View file

@ -38,7 +38,7 @@ pip3 install requests pyephem pytap2 meshtastic pypubsub geopy maidenhead beauti
if [[ $? -eq 2 ]]; then echo "Error, step failed..."; fi
echo "Adding Samba configuration..." # add it manually so we're always using the most up to date smb.conf file template from the package
echo -e "\n[home]\npath = /home/femto\nbrowsable = yes\nwritable = yes\nread only = no\ncreate mask = 0775\ndirectory mask = 0775\nvalid users = femto" | sudo tee -a /etc/samba/smb.conf > /dev/null && sudo systemctl restart smbd
echo "\n[home]\npath = /home/femto\nbrowsable = yes\nwritable = yes\nread only = no\ncreate mask = 0775\ndirectory mask = 0775\nvalid users = femto" | sudo tee -a /etc/samba/smb.conf > /dev/null && sudo systemctl restart smbd
echo "Setting MOTD..."
mv /etc/update-motd.d/10-help-text /etc/update-motd.d/10-help-text.bak