Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
LYSrdiff
Commits
8a3b6b9a
Commit
8a3b6b9a
authored
Dec 07, 2014
by
Sebastian Thorarensen
Browse files
Update the config for Lysator
fetch-backup-work: Add ns and nis.
parent
ea744aa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8a3b6b9a
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.
...
...
fetch-backup-work
View file @
8a3b6b9a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment