Debian Codegraph @

misc/pkgos-fix-config-default

raw
1 #!/bin/sh
2 # -*- mode: shell-script -*-
3
4 set -e
5
6 . /usr/share/openstack-pkg-tools/pkgos_func
7
8 # $1 = config file path (example: /etc/nova/nova.conf)
9 # $2 = .ini file section (example: DEFAULT)
10 # $3 = directive name (example: sql_connection)
11 # $4 = only present in "set" mode: new value to replace in the .ini file
12
13 PKGOS_VERBOSE=yes
14 pkgos_inifile set $@