From 4550a3a91ca091b3a6b3a847c79cf9309d298bef Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Sat, 28 Jul 2012 19:56:06 +0000 Subject: [PATCH] =?UTF-8?q?Ryttarg=C3=A5rdskyrkan:=20Replace=20tmphomes=20?= =?UTF-8?q?with=20benjamin.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fetch-work-pcfritz | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fetch-work-pcfritz b/fetch-work-pcfritz index 7136d03..336894c 100755 --- a/fetch-work-pcfritz +++ b/fetch-work-pcfritz @@ -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 tmphomes samba tmphomes /samba >> $NT -echo tmphomes samba-dokument tmphomes /samba/shares/Public/Dokument >> $NT -echo tmphomes samba-mallar tmphomes /samba/shares/Public/Mallar >> $NT -echo tmphomes samba-video tmphomes /samba/shares/Public/Video >> $NT -echo tmphomes samba-ekonomi tmphomes /samba/shares/Public/ekonomi >> $NT -echo tmphomes samba-installationsmedia tmphomes /samba/shares/Public/Installationsmedia >> $NT - -ssh -i /root/.ssh/backupkey -l root tmphomes \ +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 \ find /home -maxdepth 1 -mindepth 1 -type d -print \ | sed 's:.*/::' \ | sort \ | awk '{print "home", $1, - "tmphomes /home/" $1}' \ + "benjamin /home/" $1}' \ >> $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 \ | sed 's:.*/::' \ | sort \ | awk '{print "samba-profiles", $1, - "tmphomes /samba/profiles/" $1}' \ + "benjamin /samba/profiles/" $1}' \ >> $NT echo shimon home shimon /home >> $NT -- GitLab