From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-December/010547.html | 94 ++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-December/010547.html (limited to 'zarb-ml/mageia-dev/2011-December/010547.html') diff --git a/zarb-ml/mageia-dev/2011-December/010547.html b/zarb-ml/mageia-dev/2011-December/010547.html new file mode 100644 index 000000000..a38a8805b --- /dev/null +++ b/zarb-ml/mageia-dev/2011-December/010547.html @@ -0,0 +1,94 @@ + + + + [Mageia-dev] Issues with dracut + + + + + + + + + +

[Mageia-dev] Issues with dracut

+ Dan Fandrich + dan at coneharvesters.com +
+ Sat Dec 17 01:33:52 CET 2011 +

+
+ +
On Sat, Dec 17, 2011 at 12:08:36AM +0100, JA Magallon wrote:
+> If its is (d)ash:
+> 
+> CMDLINE=$(cat /proc/cmdline)
+
+Or save two fork+execs this way, on dash or bash:
+
+read CMDLINE </proc/cmdline
+
+> case "${CMDLINE}" in
+>     *" nokmsboot "*)
+>         echo YES
+>         ;;
+> esac
+> 
+> if if uses bash:
+> 
+> CMDLINE=$(cat /proc/cmdline)
+> if [[ "${CMDLINE}" == *" nokmsboot "* ]]
+> then
+>     echo YES
+> fi
+
+>>> Dan
+
+ + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1