From fc37b8c294ad4fd1ce09d21fce38d108d9d1446b Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 1 Nov 2016 23:05:57 +0100 Subject: [PATCH] Fix code block detection. --- .../2016-03-05-ipxe-scripts-for-tools.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/know-how/software/_posts/2016-03-05-ipxe-scripts-for-tools.md b/know-how/software/_posts/2016-03-05-ipxe-scripts-for-tools.md index dad5ab6..6750db7 100644 --- a/know-how/software/_posts/2016-03-05-ipxe-scripts-for-tools.md +++ b/know-how/software/_posts/2016-03-05-ipxe-scripts-for-tools.md @@ -164,31 +164,31 @@ Then proceed according to [this](http://www.syslinux.org/wiki/index.php?title=WD * In the `/root/tmp` location create a folder called `fsecure` and change into this directory - mkdir /root/tmp/fsecure - cd /root/tmp/fsecure + mkdir /root/tmp/fsecure + cd /root/tmp/fsecure * Type the following command and press enter (this extracts all the files from the `minirt.gz` file) - gunzip -c ../minirt.gz | cpio -idv + gunzip -c ../minirt.gz | cpio -idv * Copy the `KNOPPIX` folder to the `mnt-system` folder (from the now extracted `minirt.gz`) - cp -r ../KNOPPIX mnt-system + cp -r ../KNOPPIX mnt-system * Make a backup copy of the `init` file - cp init init.orig + cp init init.orig * Edit the `init` file with the following modifications * Find the `# findknoppix devices...` section and delete everything from the `findknoppix()` method and replace it by `return 0` -Change + Change -``` + ``` # findknoppix devices... findknoppix(){ local dev @@ -209,9 +209,9 @@ findknoppix(){ } ``` -into + into -``` + ``` # findknoppix devices... findknoppix(){ return 0 @@ -221,7 +221,7 @@ findknoppix(){ * Compress everything back into a file again by typing the following and press enter - find . -print | cpio -o -H newc |gzip -9 -c - > ../minirt.gz.new + find . -print | cpio -o -H newc |gzip -9 -c - > ../minirt.gz.new * Copy the new `minirt.gz.new` to the `fsecure` directory on the web server and name it `minirt.gz`