Introducing LunaBuild to the build flow (#36)
[lunaix-os.git] / lunaix-os / scripts / grub / config-grub.sh
diff --git a/lunaix-os/scripts/grub/config-grub.sh b/lunaix-os/scripts/grub/config-grub.sh
new file mode 100755 (executable)
index 0000000..311550b
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
+cat "${SCRIPT_DIR}/GRUB_TEMPLATE" | envsubst > "$1"
\ No newline at end of file