#!/bin/shset-euROOT=$SNAP_COMMON/classicif["$(id-u)"!="0"];thenecho"needs to run as root"exit 1fifor d in /home /run /proc /sys /dev /var/lib/extrausers /etc/sudoers /etc/sudoers.d /snappy;do if mountpoint -q"$ROOT/$d";thenumount "$ROOT/$d"fidone# cleanuprm-rf$ROOT