Commit bc11caa9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Ryttargardskyrkan: new main file server.

* fetch-work-pcfritz: Replaced benjamin with gad.
parent 31679580
2015-04-01 Per Cederqvist <ceder@lysator.liu.se>
Ryttargardskyrkan: new main file server.
* fetch-work-pcfritz: Replaced benjamin with gad.
2015-02-13 Sebastian Thorarensen <sebth@lysator.liu.se>
Updated the config for Lysator.
......
......@@ -28,27 +28,27 @@ echo david boot david /boot >> $NT
echo david var david /var >> $NT
echo david usr david /usr >> $NT
echo david opt david /opt >> $NT
echo benjamin samba benjamin /samba >> $NT
echo benjamin samba-dokument benjamin /samba/shares/Public/Dokument >> $NT
echo benjamin samba-mallar benjamin /samba/shares/Public/Mallar >> $NT
echo benjamin samba-video benjamin /samba/shares/Public/Video >> $NT
echo benjamin samba-ekonomi benjamin /samba/shares/Public/ekonomi >> $NT
echo benjamin samba-installationsmedia benjamin /samba/shares/Public/Installationsmedia >> $NT
ssh -i /root/.ssh/backupkey -l root benjamin \
echo gad samba gad /samba >> $NT
echo gad samba-dokument gad /samba/shares/Public/Dokument >> $NT
echo gad samba-mallar gad /samba/shares/Public/Mallar >> $NT
echo gad samba-video gad /samba/shares/Public/Video >> $NT
echo gad samba-ekonomi gad /samba/shares/Public/ekonomi >> $NT
echo gad samba-installationsmedia gad /samba/shares/Public/Installationsmedia >> $NT
ssh -i /root/.ssh/backupkey -l root gad \
find /home -maxdepth 1 -mindepth 1 -type d -print \
| sed 's:.*/::' \
| sort \
| awk '{print "home", $1,
"benjamin /home/" $1}' \
"gad /home/" $1}' \
>> $NT
ssh -i /root/.ssh/backupkey -l root benjamin \
ssh -i /root/.ssh/backupkey -l root gad \
find /samba/profiles -maxdepth 1 -mindepth 1 -type d -print \
| sed 's:.*/::' \
| sort \
| awk '{print "samba-profiles", $1,
"benjamin /samba/profiles/" $1}' \
"gad /samba/profiles/" $1}' \
>> $NT
echo shimon home shimon /home >> $NT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment