X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=functions;h=e9111fe08e9c72e6640a7cca20dfe1e1f88b9449;hb=c255837bb972d9e4c6d9a33cdfff8f0bf32f79fc;hp=ddcd97dd99fe7f4ed85ab93ec03694216faf5a9a;hpb=a55dec2999e4c8b2ec82671d2f90f065c298e241;p=rrq%2Foverlay-boot.git diff --git a/functions b/functions index ddcd97d..e9111fe 100644 --- 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"