summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/init_overlay
blob: 3b714c39491b87ca347e7b49794b2e6e7e13c861 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh 
[ ! -e overlay/ ] && echo "profile data for external overlay does not exist, bailing out"
   
[ ! -e doc/overlay ] && echo "Profile demands the following partitioning of the overlay usb stick:" && cat doc/overlay

if grep -q $PWD/mnt/overlay /etc/mtab;then
     
else
    echo "please mount your overlay to $PWD/overlay"
fi