source: ocsinventory-agent/trunk/fuentes/debian/ocsinventory-agent.config @ 468

Last change on this file since 468 was 468, checked in by mabarracus, 5 years ago

Copyt trusty code

File size: 372 bytes
Line 
1#!/bin/sh
2
3set -e
4
5action=$1
6version=$2
7
8# Source debconf library.
9. /usr/share/debconf/confmodule
10db_version 2.0
11
12db_input high ocsinventory-agent/method || true
13db_go
14
15db_get ocsinventory-agent/method || true
16if [ "$RET" = "http" ]; then
17        db_input high ocsinventory-agent/server || true
18fi
19
20db_input medium ocsinventory-agent/tag || true
21
22db_go
23
24db_stop
25
26exit 0
27
Note: See TracBrowser for help on using the repository browser.