Project

General

Profile

gaspacho-agent.conf.patch

Joël Cuissinat, 07/26/2017 10:56 AM

Download (616 Bytes)

View differences:

tmpl/031-gaspacho-agent
1 1
case "$MODE" in
2 2
    finalization)
3
        if [ $(CreoleGet 'activer_gaspacho_agent') == 'oui' ];then
3
        if [ $(CreoleGet 'activer_gaspacho_agent' 'non') == 'oui' ] && ! $(echo "$ROOT" | grep -q "i386");then
4 4
            sed 's/^hostname*/#hostname/' /etc/gaspacho-agent/gaspacho-agent.conf > $ROOT/etc/gaspacho-agent/gaspacho-agent.conf
5 5
            cat << EOF > $ROOT/etc/cron.hourly/gaspacho-agent
6 6
#!/bin/bash