Untitled

 avatar
unknown
sh
a month ago
342 B
4
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
Leave a Comment