[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-arm
Subject: Re: Switching off properly a Raspberry Pi running NetBSD
From: Timo Buhrmester <fstd.lkml () gmail ! com>
Date: 2015-07-19 15:49:57
Message-ID: 20150719154957.GA11146 () frozen ! localdomain
[Download RAW message or body]
> [...] I don't think that calling shutdown with both -p and -h flags
> acts any different than when just providing the -p flag
You're right, there is no difference.
From /usr/src/sbin/shutdown/shutdown.c's getopt loop:
[...]
case 'p':
dopowerdown = 1;
/* FALLTHROUGH */
case 'h':
dohalt = 1;
break;
[...]
So -h is redundant when -p is already given.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic