unmount most before unshare
[rrq/overlay-boot.git] / functions
index ddcd97dd99fe7f4ed85ab93ec03694216faf5a9a..e9111fe08e9c72e6640a7cca20dfe1e1f88b9449 100644 (file)
--- a/functions
+++ b/functions
@@ -11,6 +11,10 @@ die() {
     exit 1
 }
 
+beginswith() {
+    [ "$1" != "${1#$2}" ]
+}
+
 # Function to setup subhost name and log file
 subhost_name() {
     CONFIG="$1"