SDK Script read-config.are

read-config.are
/* DESC: This script can be used to read a configuration parameter.
 * Copyright (C) 2012 NetModule AG, Switzerland
 */
 
void usage() {
    printf("usage: read-config.are <config-key>\n");
}
 
if (argc < 2) {
    usage();
} else {
    ret = nb_config_get(argv[1]);
    printf("%s=%s\n", argv[1], ret);
}
 
exit(0);