103 Zeilen
2.3 KiB
Bash
103 Zeilen
2.3 KiB
Bash
#!/bin/sh
|
|
NFSSERVER=nfsserver.gs.wikimedia.de
|
|
NFSHOMES=/mnt/home
|
|
|
|
PREFIX=/usr/local/bin/wmde
|
|
SYNCPRG=osync
|
|
|
|
|
|
ADMIN_USERS="admin root" # never run roaming profiles for this users
|
|
MIN_USER_ID=10000 # no roaming users with id < 10000 (non-IPA-users)
|
|
|
|
NETGROUPS="wmde-rp-general"
|
|
|
|
|
|
WAIT_FOR_CONFIG=always # always, first or never
|
|
WAIT_FOR_FULLSYNC=never # always, first or never
|
|
|
|
|
|
|
|
CONFIG_DIRS=" \
|
|
--exclude='$WMDERPDIRNAME' \
|
|
--exclude='.osync_workdir' \
|
|
--include='*.kdbx' \
|
|
--include='.ssh/***' \
|
|
--include='.cache/' \
|
|
--include='.cache/keepassxc/***' \
|
|
--exclude='cache' \
|
|
--exclude='*/cache' \
|
|
--exclude='.cache' \
|
|
--exclude='*/.cache' \
|
|
--exclude='.cache2' \
|
|
--exclude='*/.cache2' \
|
|
--exclude='Cache' \
|
|
--exclude='*/Cache' \
|
|
--exclude='.thunderbird/*/ImapMail/' \
|
|
--include='.thunderbird/***' \
|
|
--include='.mozilla/***' \
|
|
--include='.local/' \
|
|
--include='.local/share/' \
|
|
--include='.local/share/backgrounds/***' \
|
|
--include=.config/*** \
|
|
--exclude='*' \
|
|
"
|
|
|
|
FULL_DIRS=" \
|
|
--exclude='$WMDERPDIRNAME' \
|
|
--exclude='.osync_workdir' \
|
|
--include='*.kdbx' \
|
|
--include='.ssh/***' \
|
|
--include='.cache/' \
|
|
--include='.cache/keepassxc/***' \
|
|
--exclude='cache' \
|
|
--exclude='*/cache' \
|
|
--exclude='.cache' \
|
|
--exclude='*/.cache' \
|
|
--exclude='.cache2' \
|
|
--exclude='*/.cache2' \
|
|
--exclude='Cache' \
|
|
--exclude='*/Cache' \
|
|
--exclude='.thunderbird/*/ImapMail/' \
|
|
--include='.thunderbird/***' \
|
|
--include='.mozilla/***' \
|
|
--include='.local/' \
|
|
--include='.local/share/' \
|
|
--include='.local/share/backgrounds/***' \
|
|
--include=.config/*** \
|
|
--exclude='Downloads' \
|
|
--exclude='VirtualBox VMs' \
|
|
--include='*' \
|
|
"
|
|
|
|
PERM_DIRS=" \
|
|
--exclude='$WMDERPDIRNAME' \
|
|
--exclude='.osync_workdir' \
|
|
--include='*.kdbx' \
|
|
--include='.ssh/***' \
|
|
--include='.cache/' \
|
|
--include='.cache/keepassxc/***' \
|
|
--exclude='cache' \
|
|
--exclude='*/cache' \
|
|
--exclude='.cache' \
|
|
--exclude='*/.cache' \
|
|
--exclude='.cache2' \
|
|
--exclude='*/.cache2' \
|
|
--exclude='Cache' \
|
|
--exclude='*/Cache' \
|
|
--exclude='.thunderbird/*/ImapMail/' \
|
|
--include='.thunderbird/***' \
|
|
--include='.mozilla/***' \
|
|
--include='.local/' \
|
|
--include='.local/share/' \
|
|
--include='.local/share/backgrounds/***' \
|
|
--include=.config/*** \
|
|
--include='*' \
|
|
"
|
|
|
|
|
|
#CONFIGDIRS=".config \
|
|
# .local/share/backgrounds \
|
|
# .ssh"
|
|
|
|
|