Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Switching off properly a Raspberry Pi running NetBSD
> [...] 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.
Home |
Main Index |
Thread Index |
Old Index