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/2012-May/015202.html | 152 ++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-May/015202.html (limited to 'zarb-ml/mageia-dev/2012-May/015202.html') diff --git a/zarb-ml/mageia-dev/2012-May/015202.html b/zarb-ml/mageia-dev/2012-May/015202.html new file mode 100644 index 000000000..70178e18a --- /dev/null +++ b/zarb-ml/mageia-dev/2012-May/015202.html @@ -0,0 +1,152 @@ + + + + [Mageia-dev] [soft-commits] [4379] fix shutting down + + + + + + + + + +

[Mageia-dev] [soft-commits] [4379] fix shutting down

+ Thierry Vignaud + thierry.vignaud at gmail.com +
+ Thu May 3 08:17:56 CEST 2012 +

+
+ +
On 3 May 2012 00:46,  <root at mageia.org> wrote:
+> --- images-config/draklive/trunk/files/halt.local.CD	2012-05-02 19:16:46 UTC
+> (rev 4378)
+> +++ images-config/draklive/trunk/files/halt.local.CD	2012-05-02 22:46:20 UTC
+> (rev 4379)
+> @@ -8,7 +8,12 @@
+>  my ($device) = cat_("/proc/mounts") =~
+> m!(/dev/\S+)\s+/live/media\s+iso9660!;
+>  $device or exit;
+>
+> -system("chvt 1");
+> +# stop plymouth
+> +system("/bin/plymouth quit");
+> +# send SIGRTMIN+20 to systemd to enable console output
+> +system("/bin/kill -54 1");
+> +# switch to console 1
+> +system("/usr/bin/chvt 1");
+
+please use system("/usr/bin/chvt", "1"), or system(qw(/usr/bin/chvt 1))
+instead in order to not fork useless shells.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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