On 15/01/2019 10:58, Vince Coen wrote:
> Hello Markus!
>
> Tuesday January 15 2019 10:58, you wrote to All:
>
> > On Mon, 07 Jan 2019 12:39:41 +0000 Jan Panteltje wrote:
>
> >> On a sunny day (07 Jan 2019 12:29:26 GMT) it happened A. Dumas
> >> wrote in
> >> :
> >>
> >>> Markus Robert Kessler wrote:
> >>>> B.t.w., how can a PI be shutdown without automatically starting up
> >>>> again?
> >>>> You need to know when to power it off to prevent data loss or
> >>>> completely damaging the SD card. If you do a "shutdown -h now" or
> >>>> "init 0" or even a "halt", then your PI will do the shutdown, but
> >>>> will immediately restart again.
> >>>
> >>> No it doesn't, or at least it shouldn't. I have certainly never seen
> >>> that behaviour.
> >>
> >> I just type
> >> poweroff
> >>
> >> and then it stays off.
>
>
> > Hi all,
>
> > I have to say "mea culpa" -- I just didn't wait long enough after
> > "shutdown now". After that command the LED on Raspberry Zero WLAN
> > flashes several seconds long, and then the RPi will be asleep. I just
> > misinterpreted the flashing as the next attempt to boot up again.
>
> > B.t.w., I also tried to use "poweroff" command several times, but this
> > termiantes all without prior cleanup properly and, finally I ended up
> > with a non-working boot-partition which I had to reinstall. Well, the
> > card survived, and this time it's one from Imation. Let's see how long
> > this will work.
>
> > Best regards,
>
> > Markus
>
>
> You should not use poweroff to close down the correct method is to issue :
>
> shutdown -h now
>
Name
reboot, halt, poweroff - reboot or stop the system
Synopsis
reboot [OPTION]...
halt [OPTION]...
poweroff [OPTION]...
Description
These programs allow a system administrator to reboot, halt or poweroff
the system.
When called with --force or when in runlevel 0 or 6, this tool invokes
the reboot(2) system call itself and directly reboots the system.
*Otherwise this simply invokes the shutdown(8) tool with the appropriate
arguments*.
--
There’s a mighty big difference between good, sound reasons and reasons
that sound good.
Burton Hillis (William Vaughn, American columnist)
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|