X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=0e1b6916628b2c2d7d6d24ccf839d0953b2b93f3;hb=d2b1d7afc61d04150ed896a72dea1625c4391919;hp=e25e4bc332a22fe86e38e3eeb60714dfc59ace67;hpb=315900ea66904606c7a5d92cf46d590fa00b12a6;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index e25e4bc..0e1b691 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -89,6 +89,11 @@ Arguments () export FETCH ;; + findiso=*) + FINDISO="${ARGUMENT#findiso=}" + export FINDISO + ;; + forcepersistencefsck) FORCEPERSISTENCEFSCK="Yes" export FORCEPERSISTENCEFSCK @@ -1579,3 +1584,10 @@ fix_home_rw_compatibility () /home source=." > "${include_list}" fi } + +is_mountpoint () +{ + directory="$1" + + [ $(stat -fc%d:%D "${directory}") != $(stat -fc%d:%D "${directory}/..") ] +}