Module Name: src
Committed By: maya
Date: Fri Jul 13 21:45:37 UTC 2018
Modified Files:
src/share/examples/apm: script
Log Message:
dhclient->dhcpcd
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/examples/apm/script
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/apm/script
diff -u src/share/examples/apm/script:1.5 src/share/examples/apm/script:1.6
--- src/share/examples/apm/script:1.5 Mon Mar 10 16:14:37 2003
+++ src/share/examples/apm/script Fri Jul 13 21:45:37 2018
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: script,v 1.5 2003/03/10 16:14:37 david Exp $
+# $NetBSD: script,v 1.6 2018/07/13 21:45:37 maya Exp $
#
#
@@ -44,7 +44,7 @@ case $0 in
umount -a -t nfs
umount -a -f -t nfs
ifconfig $if down
- sh /etc/rc.d/dhclient stop
+ sh /etc/rc.d/dhcpcd stop
$LOGGER 'Suspending done.'
;;
@@ -55,14 +55,14 @@ case $0 in
umount -a -t nfs
umount -a -f -t nfs
ifconfig $if down
- sh /etc/rc.d/dhclient stop
+ sh /etc/rc.d/dhcpcd stop
$LOGGER 'Standby done.'
;;
*resume)
$LOGGER 'Resuming...'
noise $S/KDE_Startup.wav
- sh /etc/rc.d/dhclient start
+ sh /etc/rc.d/dhcpcd start
# mount /home
# mount /data
$LOGGER 'Resuming done.'