moved old code to modules, cleanup
This commit is contained in:
20
modules/conf_syslog.sh
Normal file
20
modules/conf_syslog.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
# Syslog
|
||||
|
||||
export VER_conf_syslog="0.0.1"
|
||||
|
||||
conf_syslog()
|
||||
{
|
||||
prnt I "Configuration de rsyslog..."
|
||||
backupdist /etc/rsyslog.conf
|
||||
installfile rsyslog.conf /etc/rsyslog.conf
|
||||
svc_restart rsyslog
|
||||
}
|
||||
|
||||
precheck_conf_syslog()
|
||||
{
|
||||
: # Rien à vérifier
|
||||
}
|
||||
|
||||
export -f conf_syslog
|
||||
export -f precheck_conf_syslog
|
||||
|
||||
Reference in New Issue
Block a user