#!/bin/sh . /lib/partman/lib/base.sh dev=$2 id=$3 part=$dev/$id cd $part if [ ! -f skip_erase ]; then touch skip_erase else rm -f skip_erase fi