<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Linux on Thomas Schwery</title>
		<link>https://thomas.inf3.ch/topics/linux/</link>
		<description>Recent content in Linux on Thomas Schwery</description>
		<generator>Hugo</generator>
		<language>en</language>
		
			<managingEditor>thomas@inf3.ch (Thomas Schwery)</managingEditor>
		
		
			<webMaster>thomas@inf3.ch (Thomas Schwery)</webMaster>
		
		
			<copyright>Thomas Schwery, No rights reserved (CC0).</copyright>
		
		
			<lastBuildDate>Sat, 17 Aug 2019 16:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://thomas.inf3.ch/topics/linux/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>My Git workflow</title>
				<link>https://thomas.inf3.ch/2019-08-17-my-git-workflow/</link>
				<pubDate>Sat, 17 Aug 2019 16:00:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2019-08-17-my-git-workflow/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://git-scm.com/&#34;&gt;Git&lt;/a&gt; is currently the most popular Version Control&#xA;System and probably needs no introduction. I have been using it for some&#xA;years now, both for work and for personal projects.&lt;/p&gt;&#xA;&lt;p&gt;Before that, I used Subversion for nearly 10 years and was more or less&#xA;happy with it. More or less because it required to be online to do more&#xA;or less anything : Commit needs to be online, logs needs to be online,&#xA;checking out an older revision needs to be online, &amp;hellip;&lt;/p&gt;</description>
			</item>
			<item>
				<title>OpenGL in a virtual machine</title>
				<link>https://thomas.inf3.ch/2019-06-12-opengl-kvm-mesa3d/</link>
				<pubDate>Wed, 12 Jun 2019 18:30:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2019-06-12-opengl-kvm-mesa3d/</guid>
				<description>&lt;p&gt;As I prefer to work on a Linux computer for programming, at work I have to&#xA;use a virtual machine to execute the product and test in a real environment&#xA;using different Windows versions.&lt;/p&gt;&#xA;&lt;p&gt;The problem encountered is that the emulated graphics card, even with full&#xA;drivers in my KVM setup is only providing an OpenGL 1.1 version, something&#xA;so old that some of the functionalities of our application are not working&#xA;and display black boxes instead.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Subversion migration to Git</title>
				<link>https://thomas.inf3.ch/2017-05-12-subversion-migration/</link>
				<pubDate>Fri, 12 May 2017 18:30:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2017-05-12-subversion-migration/</guid>
				<description>&lt;p&gt;Some time ago I was tasked with migrating our Subversion repositories to Git. This article was only written&#xA;recently because, well, I had forgotten about the notes I had taken during the migration and only stumbled on&#xA;them recently.&lt;/p&gt;&#xA;&lt;p&gt;Our largest repository was something like 500Go and contained a little more than 50&#39;000 commits. The&#xA;goal was to recover the svn history into git, keep a much information as possible about the commits and&#xA;the links between them, keep the branches. During the history, there were a number of periodic database dumps&#xA;that were committed that now weighted down the repository without serving any purpose. There were also a number&#xA;of branches that were never used and contained nothing of interest.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Network Debian Install</title>
				<link>https://thomas.inf3.ch/2017-03-12-networkdebian/</link>
				<pubDate>Sun, 12 Mar 2017 22:00:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2017-03-12-networkdebian/</guid>
				<description>&lt;p&gt;This is a follow-up of the previous &lt;em&gt;Preseeded Debian Install&lt;/em&gt; article,&#xA;this time to add the capability of asking for a headless install through&#xA;SSH.&lt;/p&gt;&#xA;&lt;p&gt;I received every part of my future storage server and needed to install&#xA;Debian on it. As I did not want to hook up a keyboard and display on it&#xA;just to install the OS, I looked into the Debian Installer &lt;em&gt;Network Console&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The concept is really simple, as always: The installer can be seeded through&#xA;the first parts of the installation until the network is available and&#xA;then let the user continue through SSH.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Preseeded Debian Install</title>
				<link>https://thomas.inf3.ch/2017-02-25-preseededdebian/</link>
				<pubDate>Sat, 25 Feb 2017 22:00:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2017-02-25-preseededdebian/</guid>
				<description>&lt;p&gt;Since I tend to reinstall my laptop quite often -each time I have to use it&#xA;for work more or less-, I wanted to automate a large portion of the&#xA;installation process, from the installation itself to the configuration.&lt;/p&gt;&#xA;&lt;p&gt;I delegated the configuration part to SaltStack, which I will cover in a&#xA;future post, once I figured out everything I needed. This first part will&#xA;cover the Debian installation, using the &lt;em&gt;preseed&lt;/em&gt; mechanism that is available&#xA;in the Debian Installer.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Debian Preseeded install medium</title>
				<link>https://thomas.inf3.ch/2016-08-02-debianpreseed/</link>
				<pubDate>Tue, 02 Aug 2016 09:00:00 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2016-08-02-debianpreseed/</guid>
				<description>&lt;p&gt;After the configuration of my servers through Saltstack, I decided to&#xA;go furter and to also store the configuration to my laptops and home computed&#xA;into Saltstack and thus allow an easy way to format and get a fully configured&#xA;system back in place really easily and quickly.&lt;/p&gt;&#xA;&lt;p&gt;First step was to get a quick way of formatting my computers without or&#xA;with only minimal human intervention. As I&amp;rsquo;m using Debian, it means preparing&#xA;a preseeded installation file so that everything is taken care of.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to disable Num_Lock</title>
				<link>https://thomas.inf3.ch/2010-08-16-numlock/</link>
				<pubDate>Mon, 16 Aug 2010 14:14:08 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2010-08-16-numlock/</guid>
				<description>&lt;p&gt;A small note about the most useless key on my keyboard : &lt;em&gt;Num_Lock&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t know about you, but when I have numbers to type, I use the line on top of the keyboard and not the numeric pad that, once activated, replaces some keys of my keyboard - Yes, I&amp;rsquo;m on a laptop.&lt;/p&gt;&#xA;&lt;p&gt;So, about disabling that key and rendering it useful :&lt;/p&gt;&#xA;&#xA;&lt;div class=&#34;code&#34;&gt;&#xA;  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xmodmap -e &amp;#39;keycode 77 = ISO_Level3_Shift&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Replace the keycode with what corresponds to your numlock key. If you don&amp;rsquo;t know the keycode, use xev.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Mercurial Repositories</title>
				<link>https://thomas.inf3.ch/2010-08-14-mercurial/</link>
				<pubDate>Sat, 14 Aug 2010 22:05:53 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2010-08-14-mercurial/</guid>
				<description>&lt;p&gt;I finally found a way to share the code snipplets that I wrote for a reason or an another with anyone who would have any use for them.&lt;/p&gt;&#xA;&lt;p&gt;I decided to drop my usual SVN repositories and try another versioning tool : Mercurial. The main reason was that the name sounded cool and that it was really easy to setup some web repository view &amp;hellip; I know it&amp;rsquo;s not really a plus since all VCS provide this feature through a plugin or an another &amp;hellip;&lt;/p&gt;</description>
			</item>
			<item>
				<title>xRandr and dual screen</title>
				<link>https://thomas.inf3.ch/2010-04-xrandr/</link>
				<pubDate>Wed, 09 Jun 2010 18:28:23 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2010-04-xrandr/</guid>
				<description>&lt;p&gt;As always when you have to study an exam, you notice something on your computer that doesn&amp;rsquo;t work &amp;hellip; Today was the easy way to connect an external display and use it to &amp;hellip; hum &amp;hellip; work.&lt;/p&gt;&#xA;&lt;p&gt;As I don&amp;rsquo;t use fancy desktop environment, no gui tools are available. That&amp;rsquo;s not a problem, you just have to do it the easy way: Some obscure key bindings that will launch a script that will do what you wanted.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to modify the CPU voltage</title>
				<link>https://thomas.inf3.ch/2010-06-07-phc/</link>
				<pubDate>Mon, 07 Jun 2010 23:08:51 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2010-06-07-phc/</guid>
				<description>&lt;p&gt;Hi !&lt;/p&gt;&#xA;&lt;p&gt;Today I just experimented with an old tool: &lt;em&gt;Linux-PHC&lt;/em&gt;. This is a kernel module that replaces the default apci module and allows more control over the cpu. The main function of this module is to allow the user to modify the CPU voltage, usually lower it.&lt;/p&gt;&#xA;&lt;p&gt;Why would you lower the CPU voltage ? The answer is simple: On a laptop, it means less heat and more battery.&lt;/p&gt;&#xA;&lt;p&gt;I tried the experiment a long time ago, we still needed to patch and recompile the kernel &amp;hellip; Long procedure, boring when the updates come &amp;hellip; Now it is possible to just compile a module and insert it, so I decided to try again.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Pretty boot output</title>
				<link>https://thomas.inf3.ch/2010-04-13-debianboot/</link>
				<pubDate>Tue, 13 Apr 2010 01:07:15 +0000</pubDate><author>thomas@inf3.ch (Thomas Schwery)</author>
				<guid>https://thomas.inf3.ch/2010-04-13-debianboot/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve always asked myself how some Linux distributions have pretty lines along the :&lt;/p&gt;&#xA;&#xA;&lt;div class=&#34;code&#34;&gt;&#xA;  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Starting ACPI services...                                                                                           [   OK   ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Starting anac(h)ronistic cron: anacron deferred while on battery power.                                             [   OK   ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Starting deferred execution scheduler: atd                                                                          [   OK   ]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;It appears this is managed by the LSB and there is only one file to edit to have anything you want for your boot output :&lt;/p&gt;&#xA;&#xA;&lt;div class=&#34;code&#34;&gt;&#xA;  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/etc/lsb-base-logging.sh&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;div class=&#34;code&#34;&gt;&#xA;  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;log_end_msg () {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    # If no arguments were passed, return&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if [ -z &amp;#34;${1:-}&amp;#34; ]; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        return 1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    retval=$1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    log_end_msg_pre &amp;#34;$@&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    # Only do the fancy stuff if we have an appropriate terminal&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    # and if /usr is already mounted&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if log_use_fancy_output; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        RED=`$TPUT setaf 1`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        GREEN=`$TPUT setaf 2`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        YELLOW=`$TPUT setaf 3`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        NORMAL=`$TPUT sgr0`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        $TPUT hpa $((`$TPUT cols` - 12))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    else&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        RED=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        GREEN=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        YELLOW=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        NORMAL=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if [ $1 -eq 0 ]; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        /bin/echo -e &amp;#34; [   ${GREEN}OK${NORMAL}   ]&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    elif [ $1 -eq 255 ]; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        /bin/echo -e &amp;#34; [${YELLOW}WARNING!${NORMAL}]&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    else&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        /bin/echo -e &amp;#34; [ ${RED}FAILED${NORMAL} ]&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    log_end_msg_post &amp;#34;$@&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    return $retval&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;log_action_end_msg () {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    log_action_end_msg_pre &amp;#34;$@&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if [ -z &amp;#34;${2:-}&amp;#34; ]; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        end=&amp;#34;&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    else&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        end=&amp;#34; ($2)&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    /bin/echo -n &amp;#34;${end}&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    # Only do the fancy stuff if we have an appropriate terminal&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    # and if /usr is already mounted&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if log_use_fancy_output; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        RED=`$TPUT setaf 1`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        BLUE=`$TPUT setaf 4`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        NORMAL=`$TPUT sgr0`&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        $TPUT hpa $((`$TPUT cols` - 12))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    else&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        RED=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        BLUE=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        NORMAL=&amp;#39;&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    if [ $1 -eq 0 ]; then&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        /bin/echo -e &amp;#34; [  ${BLUE}DONE${NORMAL}  ]&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    else&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        /bin/echo -e &amp;#34; [ ${RED}FAILED${NORMAL} ]&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    fi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    log_action_end_msg_post &amp;#34;$@&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Thanks to Google and &lt;a href=&#34;http://www.earth.li/~noodles/blog/2010/01/prettifying-debian-boot-output.html&#34;&gt;Jonathan McDowell&lt;/a&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
