git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
lunaix-os/scripts/grub/config-grub.sh
@@ -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