projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding support for the findiso boot parameter (Closes: #656135).
[live-boot-grml.git]
/
scripts
/
live-helpers
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
e25e4bc
..
456c2d7
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-143,6
+143,11
@@
Arguments ()
export STATICIP
;;
export STATICIP
;;
+ findiso=*)
+ FINDISO="${ARGUMENT#findiso=}"
+ export FINDISO
+ ;;
+
live-getty)
LIVE_GETTY="1"
export LIVE_GETTY
live-getty)
LIVE_GETTY="1"
export LIVE_GETTY
@@
-1579,3
+1584,15
@@
fix_home_rw_compatibility ()
/home source=." > "${include_list}"
fi
}
/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
+}