From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 1D85B30BF6 for ; Sun, 24 Nov 2024 09:48:01 +0100 (CET) Received: (qmail 11257 invoked by uid 89); 24 Nov 2024 08:48:24 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 11250 invoked from network); 24 Nov 2024 08:48:24 -0000 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1732438076; bh=93mRedOm8Mi04tyCbIJ26ZxhEGvxUN98kdrIl9jB180=; h=Date:From:To:Subject; b=e5ofoonJ1lznH7KnAxosgco2J1YQT2cf9JvvpibnkDjZB6meyTZonez2UNR91E13R yIqkOMlHTc70KOmQrkT5u8QkHHe30hEITN8Sj5hC41aa1ePPEYCoodLcGvJr4qIz7Y DO5zMp2Uq1fsdoEDN/ExdIosFUd4qKvNsavftz3pF97cZlhI6HEi/oXuomPDMscVCk vII3V3OKXY+XxTZ9g86ThooSnuj9xIizI7W+kF27uL6qRLvwMwPQOYStuqXuQGFKua qf/hvxooadllwbueVpxxZWEvXHZVl3RnQDPGbOgAZcooZP2IvGx9s1C4cEuAqUfhT/ epW4+JLl6iRgA== MIME-Version: 1.0 Date: Sun, 24 Nov 2024 09:47:56 +0100 From: "lumaro via supervision" Reply-To: lumaro To: supervision@list.skarnet.org Subject: Reboot or Shutdown commands dont exit from tty auto Message-ID: X-Sender: lumaro@disroot.org Content-Type: multipart/alternative; boundary="=_3eb693115cc326321439ba65399a74eb" --=_3eb693115cc326321439ba65399a74eb Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi all, When I try to restart or shutdown from the tty, user or root, the process displays a message and waits until "exit" is executed and then continues with the restart or shutdown... Example: ---------- $ doas reboot *** WARNING *** The system id going down NOW! $ ---------- >> Then run "exit" and *shutdownd*" continues the process ... My scripts: ----------------- $ cat /sbin/reboot #!/bin/execlineb -S0 s6-linux-init-hpr -r $@ $ cat /sbin/shutdown #!/bin/execlineb -S0 s6-linux-init-shutdown $@ $ cat /sbin/poweroff #!/bin/execlineb -S0 s6-linux-init-hpr -p $@ $ cat /sbin/halt #!/bin/execlineb -S0 s6-linux-init-hpr -h $@ ----------------- Its normal? What am I doing wrong? Any ideas? Thanks !! Luis. --=_3eb693115cc326321439ba65399a74eb--