<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Implementing a boot theme | GoboLinux Documentation</title><link>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Implementing-a-boot-theme/index.html</link><description>This section describes how each of the obligatory theme functions must be implemented.
ThemeInit This, as the name implies, is the standard location to perform initializations. Below is an example on how you can use the standard $PREVLEVEL variable (from the Sysvinit init program) to echo some message when system initializes or goes down.
if [ "$PREVLEVEL" = "N" ] then echo "GoboLinux is initializing..." else echo "GoboLinux is going down..." fi ThemeFile GoboLinux boot scripts work by processing a sequence of files (again, check section “Customizing the initialization” for more details). Before starting to process each of these files, the boot scripts core will call ThemeFile passing as the first (and only) parameter the name of the file that is starting to be processed. Needless to say, you are not obligated to give feedback on what file is being processed (the “Hat” theme, example, does nothing in its implementation of ThemeFile.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Implementing-a-boot-theme/index.xml" rel="self" type="application/rss+xml"/></channel></rss>