#! /bin/sh set -e TARBALL_DATA="/var/lib/netconfig-client/data" [ -d "$TARBALL_DATA" ] || exit 0 mkdir -p "/target/$TARBALL_DATA" rsync -ax --delete "$TARBALL_DATA/" "/target/$TARBALL_DATA/" exit 0 chroot /target llxcfg-ncfg-scripts post-load || true exit 0