Syncthing
This commit is contained in:
parent
d3de780583
commit
3ecb26a760
2 changed files with 59 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ backup_and_link "$DOTFILES/config/autofs/auto.mnt" "/etc/auto.mnt"
|
|||
chmod +x /etc/rc.d/rc.autofs
|
||||
backup_and_link "$DOTFILES/config/mpd/rc.mpd" "/etc/rc.d/rc.mpd"
|
||||
chmod +x /etc/rc.d/rc.mpd
|
||||
|
||||
backup_and_link "$DOTFILES/config/syncthing/rc.syncthing" "/etc/rc.d/rc.syncthing"
|
||||
chmod +x /etc/rc.d/rc.syncthing
|
||||
mkdir -p /mnt
|
||||
|
||||
# NetworkManager wifi power saving fix
|
||||
|
|
@ -96,6 +99,11 @@ fi
|
|||
if [ -x /etc/rc.d/rc.mpd ]; then
|
||||
/etc/rc.d/rc.mpd start
|
||||
fi
|
||||
|
||||
# Start syncthing
|
||||
if [ -x /etc/rc.d/rc.syncthing ]; then
|
||||
/etc/rc.d/rc.syncthing start
|
||||
fi
|
||||
RCEOF
|
||||
echo "added tailscale/autofs/mpd to rc.local"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue