#!/bin/bash # set -e # variables INSTALL_DIR="/etc" CONF_DIR="pamnss-common/templates" ######## # main # ######## # generate template files from llxcfg conffiles for f in $(llxcfg-config list "$CONF_DIR") ; do llxcfg-config read "$CONF_DIR$f" | skel-install -t "${INSTALL_DIR}${f}" done exit 0