From 8a3b6b9a6c016a0ed34270aa288cb172a9c82c55 Mon Sep 17 00:00:00 2001
From: Sebastian Thorarensen <sebth@lysator.liu.se>
Date: Sun, 7 Dec 2014 23:37:42 +0100
Subject: [PATCH] Update the config for Lysator

fetch-backup-work: Add ns and nis.
---
 ChangeLog         | 5 +++++
 fetch-backup-work | 6 +++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0d65068..1e255e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-07  Sebastian Thorarensen  <sebth@lysator.liu.se>
+
+	Updated the config for Lysator.
+	* fetch-backup-work: Add ns and nis.
+
 2014-10-16  Sebastian Thorarensen  <sebth@lysator.liu.se>
 
 	Updated the config for Lysator.
diff --git a/fetch-backup-work b/fetch-backup-work
index fe26b04..5ea2292 100755
--- a/fetch-backup-work
+++ b/fetch-backup-work
@@ -110,12 +110,16 @@ echo medreg sqldump medreg /var/lib/mysql-dump >> $NT
 echo bernadotte var-log bernadotte /var/log >> $NT
 echo bernadotte var-spool-postfix bernadotte /var/spool/postfix >> $NT
 echo bernadotte var-lib-mailman bernadotte /var/lib/mailman >> $NT
-
 ssh bernadotte 'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
 | grep -v DELETE \
 | awk '{ print "mail", $1, "bernadotte", "/home/" $1 }' \
 | sort >> $NT
 
+# NS and NIS
+echo ns lysator ns /lysator >> $NT
+echo nis lysator nis /lysator >> $NT
+echo nis opt-lysator nis /opt/lysator >> $NT
+
 # lysrdiff
 echo shafan root shafan / >> $NT
 
-- 
GitLab