Re: 2 questions re UPS management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mar 19, 2013, at 2:25 PM, m.roth@xxxxxxxxx wrote:

> Fred Smith wrote:
> <snip>
>  #!/bin/sh
>        #
>        # invoked by the poweroff clause in /etc/inittab instead of the
> command
>        # originally in that place. This one also shuts down the Windoze box.
> 
> 
>        net rpc SHUTDOWN -C "System shutting down NOW due to power
> failure" -f -I
> 172.19.23.120 -U <myusername>%<mypassword>
>        /sbin/shutdown -f -h +5 "Power Failure; System Shutting Down"
> <snip>
> Hoold on thar: I just had some thoughts, and went back to look at your
> script... then the man page, then shutdown --help.
> 
> What's that undocumented -f do?
----
it's well documented in the man page

-f     Skip fsck on reboot.

Craig
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux