How to enable poweroff in D-LINK DSM-G600

Charles Brown <[email protected]> Thu, 14 Feb 2013 23:31:45 +0100
Newsgroups gmane.os.netbsd.ports.sandpoint
Message-ID <CAPA5q9Yp_K4SUfQm4by=T2X=5TbVOxUY-YZhp18RrFkeAzwvGw@mail.gmail.com>
--14dae9340fc3e54d8204d5b6d20c
Content-Type: text/plain; charset=ISO-8859-1

Hello,
would you think about changing the dwproff() function in satmgr.c module in
this way?

dpwroff(struct satmgr_softc *sc)
{
    send_sat(sc, "ZWC\n");
}

In my dsm-g600, this permits the power off of the unit via software.
Please check.
Thank you.

Giovanni

--14dae9340fc3e54d8204d5b6d20c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Hello,<br>would you think about changi=
ng the dwproff() function in satmgr.c module in this way?<br><br>dpwroff(st=
ruct satmgr_softc *sc)<br>{<br>=A0=A0=A0 send_sat(sc, &quot;ZWC\n&quot;);<b=
r>}<br>
<br></div>In my dsm-g600, this permits the power off of the unit via softwa=
re.<br></div>Please check.<br></div>Thank you.<br><br></div>Giovanni<br></d=
iv>

--14dae9340fc3e54d8204d5b6d20c--