Untitled
Anonymous
sh
01/02/2025 5:12 PM
456 B
46
Indexable
#!/bin/bash
#
# run snapper for all configs
#
#SNAPPER_CONFIGS=/etc/snapper/configs
for CONFIG in $SNAPPER_CONFIGS ; do
. /etc/snapper/configs/$CONFIG
if [ "$TIMELINE_CREATE" = "yes" ] ; then
sh /usr/bin/snapper --config=$CONFIG --quiet create --description="timeline" --cleanup-algorithm="timeline"
fi
done
exit 0
Editor is loading...
Leave a Comment