X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;fp=scripts%2Flive-helpers;h=456c2d75b1a14c20b53c5dfb47dc45302ccc06fe;hb=610c06cafd108f9af8d246988b9ce518aa2895f2;hp=e25e4bc332a22fe86e38e3eeb60714dfc59ace67;hpb=315900ea66904606c7a5d92cf46d590fa00b12a6;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index e25e4bc..456c2d7 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -143,6 +143,11 @@ Arguments () export STATICIP ;; + findiso=*) + FINDISO="${ARGUMENT#findiso=}" + export FINDISO + ;; + live-getty) LIVE_GETTY="1" export LIVE_GETTY @@ -1579,3 +1584,15 @@ fix_home_rw_compatibility () /home source=." > "${include_list}" fi } + +is_mountpoint () { + + directory="$1" + + if [ $(stat -fc%d:%D "${directory}") != $(stat -fc%d:%D "${directory}/..") ] + then + return 0 + else + return 1 + fi +}