Le 03/05/2012 08:17, Thierry Vignaud a écrit :
On 3 May 2012 00:46,<[email protected]>  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.
and kill is a perl builtin perl too:
kill SIGRTMAX-10, 1

--
BOFH excuse #16:

somebody was calculating pi on the server

Reply via email to