You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
527 B
24 lines
527 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
# Christoph Galuschka <tigalch@tigalch.org>
|
||
|
|
||
|
t_Log "$0 - installing amanda system"
|
||
|
|
||
|
|
||
|
if (t_GetPkgRel basesystem | grep -q el5)
|
||
|
then
|
||
|
t_Log "This is a C5 system. Skipping."
|
||
|
t_CheckExitStatus 0
|
||
|
exit $PASS
|
||
|
fi
|
||
|
|
||
|
if (t_GetPkgRel basesystem | grep -q el9)
|
||
|
then
|
||
|
t_Log "This is a C9 system. Amanda not present. Skipping."
|
||
|
t_CheckExitStatus 0
|
||
|
exit $PASS
|
||
|
fi
|
||
|
|
||
|
t_InstallPackage amanda amanda-server amanda-client
|
||
|
id -u amandabackup &>/dev/null || useradd amandabackup
|