Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 No need to spread bad shell script practices ...
details: https://anonhg.NetBSD.org/src/rev/af80d95be1a4
branches: trunk
changeset: 754257:af80d95be1a4
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Apr 25 07:00:50 2010 +0000
description:
No need to spread bad shell script practices in manual pages...
diffstat:
share/man/man4/acpilid.4 | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 1f69cc4f8f84 -r af80d95be1a4 share/man/man4/acpilid.4
--- a/share/man/man4/acpilid.4 Sun Apr 25 06:54:40 2010 +0000
+++ b/share/man/man4/acpilid.4 Sun Apr 25 07:00:50 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpilid.4,v 1.4 2010/04/25 06:24:38 jruoho Exp $
+.\" $NetBSD: acpilid.4,v 1.5 2010/04/25 07:00:50 jruoho Exp $
.\"
.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -74,7 +74,9 @@
# Suspend.
#
- /sbin/sysctl -w machdep.sleep_state=3
+ if /sbin/sysctl machdep.sleep_state >/dev/null 2>&1; then
+ /sbin/sysctl -w machdep.sleep_state=3
+ fi
# Waking up.
#
Home |
Main Index |
Thread Index |
Old Index