Commit 4550a3a9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Ryttargårdskyrkan: Replace tmphomes with benjamin.

parent 39367c54
...@@ -28,27 +28,27 @@ echo david boot david /boot >> $NT ...@@ -28,27 +28,27 @@ echo david boot david /boot >> $NT
echo david var david /var >> $NT echo david var david /var >> $NT
echo david usr david /usr >> $NT echo david usr david /usr >> $NT
echo david opt david /opt >> $NT echo david opt david /opt >> $NT
echo tmphomes samba tmphomes /samba >> $NT echo benjamin samba benjamin /samba >> $NT
echo tmphomes samba-dokument tmphomes /samba/shares/Public/Dokument >> $NT echo benjamin samba-dokument benjamin /samba/shares/Public/Dokument >> $NT
echo tmphomes samba-mallar tmphomes /samba/shares/Public/Mallar >> $NT echo benjamin samba-mallar benjamin /samba/shares/Public/Mallar >> $NT
echo tmphomes samba-video tmphomes /samba/shares/Public/Video >> $NT echo benjamin samba-video benjamin /samba/shares/Public/Video >> $NT
echo tmphomes samba-ekonomi tmphomes /samba/shares/Public/ekonomi >> $NT echo benjamin samba-ekonomi benjamin /samba/shares/Public/ekonomi >> $NT
echo tmphomes samba-installationsmedia tmphomes /samba/shares/Public/Installationsmedia >> $NT echo benjamin samba-installationsmedia benjamin /samba/shares/Public/Installationsmedia >> $NT
ssh -i /root/.ssh/backupkey -l root tmphomes \ ssh -i /root/.ssh/backupkey -l root benjamin \
find /home -maxdepth 1 -mindepth 1 -type d -print \ find /home -maxdepth 1 -mindepth 1 -type d -print \
| sed 's:.*/::' \ | sed 's:.*/::' \
| sort \ | sort \
| awk '{print "home", $1, | awk '{print "home", $1,
"tmphomes /home/" $1}' \ "benjamin /home/" $1}' \
>> $NT >> $NT
ssh -i /root/.ssh/backupkey -l root tmphomes \ ssh -i /root/.ssh/backupkey -l root benjamin \
find /samba/profiles -maxdepth 1 -mindepth 1 -type d -print \ find /samba/profiles -maxdepth 1 -mindepth 1 -type d -print \
| sed 's:.*/::' \ | sed 's:.*/::' \
| sort \ | sort \
| awk '{print "samba-profiles", $1, | awk '{print "samba-profiles", $1,
"tmphomes /samba/profiles/" $1}' \ "benjamin /samba/profiles/" $1}' \
>> $NT >> $NT
echo shimon home shimon /home >> $NT echo shimon home shimon /home >> $NT
......
Supports Markdown
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