Skip to content

Instantly share code, notes, and snippets.

@aw
Created May 17, 2016 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aw/346c56912abd744803d054a9df04662f to your computer and use it in GitHub Desktop.
Save aw/346c56912abd744803d054a9df04662f to your computer and use it in GitHub Desktop.
Patch for pre-boot script
diff --git a/etc/init.d/tc-config b/etc/init.d/tc-config
index f6002dd..c44876c 100755
--- a/etc/init.d/tc-config
+++ b/etc/init.d/tc-config
@@ -25,6 +25,8 @@ addUser(){
# Main
+[ -f "/opt/preboot.sh" ] && /opt/preboot.sh
+
clear
echo "${GREEN}Booting ${YELLOW}Core $VERSION ${NORMAL}"
echo "${GREEN}Running Linux Kernel ${YELLOW}$KERNEL${GREEN}.${NORMAL}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment