Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2005
    Messaggi
    909

    shutdown senza messaggio

    Ciao a tutti,
    ho trovato il comando shutdown veramente utile!

    ho cercato in rete ma non ho trovato nulla riguardo alla possibilità di evitare di far apparire il messaggio di sistema che avverte ogni tot secondi che il sistema di sta riavviando.

    ho una distr Mandriva 2006,
    avevo trovato in rete una discussione dove si diceva che il messaggio è contenuto nel file
    /etc/shtdown.config ma io nn ho quasto file...
    ...eppure da qualche parte deve esserci!

    grazie mille!

  2. #2
    man shutdown

    che dice ?

  3. #3
    Utente di HTML.it
    Registrato dal
    Jul 2005
    Messaggi
    909
    questo è quello che dice:
    codice:
    SHUTDOWN(8)           Linux System Administrator's Manual          SHUTDOWN(8)
    
    NAME
           shutdown - bring the system down
    
    SYNOPSIS
           /sbin/shutdown [-t sec] [-arkhncfFHP] time [warning-message]
    
    DESCRIPTION
           shutdown  brings  the system down in a secure way.  All logged-in users
           are notified that the system is going down, and  login(1)  is  blocked.
           It is possible to shut the system down immediately or after a specified
           delay.  All processes are first notified that the system is going  down
           by the signal SIGTERM.  This gives programs like vi(1) the time to save
           the file being edited, mail and news processing programs  a  chance  to
           exit  cleanly,  etc.   shutdown  does  its  job  by signalling the init
           process, asking it to change the runlevel.  Runlevel 0 is used to  halt
           the  system, runlevel 6 is used to reboot the system, and runlevel 1 is
           used to put to system into a state where administrative  tasks  can  be
           performed; this is the default if neither the -h or -r flag is given to
           shutdown.  To see which actions are taken on halt  or  reboot  see  the
           appropriate entries for these runlevels in the file /etc/inittab.
    
    OPTIONS
           -a     Use /etc/shutdown.allow.
    
           -t sec Tell  init(8)  to wait sec seconds between sending processes the
                  warning and the kill signal, before  changing  to  another  run-
                  level.
    
           -k     Don't  really shutdown; only send the warning messages to every-
                  body.
    
           -r     Reboot after shutdown.
    
    lines 1-37
    ...ovviamnete nn ho etc/shutdown.allow

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.