#!/bin/sh $SNAP/usr/bin/targetcli saveconfig # This wrapper is needed due to https://bugs.launchpad.net/snapd/+bug/1882839 $SNAP/usr/bin/targetcli clearconfig confirm=True