mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-30 20:07:01 -05:00
Switch smb.conf to git source
This commit is contained in:
parent
cfe2e19e40
commit
464551d0bb
2 changed files with 253 additions and 3 deletions
|
|
@ -37,9 +37,6 @@ echo "Installing dependencies for meshing-around and meshtastic cli..."
|
|||
pip3 install requests pyephem pytap2 meshtastic pypubsub geopy maidenhead beautifulsoup4 dadjokes schedule wikipedia googlesearch-python
|
||||
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 "\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
|
||||
mv /etc/update-motd.d/60-unminimize /etc/update-motd.d/60-unminimize.bak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue