summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-12-04 22:48:11 +0000
committermiod <miod@openbsd.org>2009-12-04 22:48:11 +0000
commit5581513f9cac3ab962bafcbca4c03e4b3c7f51a1 (patch)
treefc5c3b969542d327d07b6d1c93380e4d349e4f3f
parentuse mv -f to avoid stopping during wrongly mounted root; sbeyer@reactor.de (diff)
downloadwireguard-openbsd-5581513f9cac3ab962bafcbca4c03e4b3c7f51a1.tar.xz
wireguard-openbsd-5581513f9cac3ab962bafcbca4c03e4b3c7f51a1.zip
Send `* pwr d' instead of `pwr d' on powerdown, to have L1 broadcast the
request to other bricks connected to our node.
-rw-r--r--sys/arch/sgi/sgi/ip27_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/ip27_machdep.c b/sys/arch/sgi/sgi/ip27_machdep.c
index cec3d107e73..28c59286b25 100644
--- a/sys/arch/sgi/sgi/ip27_machdep.c
+++ b/sys/arch/sgi/sgi/ip27_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip27_machdep.c,v 1.40 2009/11/29 17:03:53 miod Exp $ */
+/* $OpenBSD: ip27_machdep.c,v 1.41 2009/12/04 22:48:11 miod Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -534,7 +534,7 @@ ip27_halt(int howto)
#else
if (howto & RB_POWERDOWN) {
if (ip35) {
- l1_exec_command(masternasid, "pwr d");
+ l1_exec_command(masternasid, "* pwr d");
delay(1000000);
printf("Powerdown failed, "
"please switch off power manually.\n");