Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/examples/apm dhclient->dhcpcd



details:   https://anonhg.NetBSD.org/src/rev/86fcf501f21c
branches:  trunk
changeset: 320620:86fcf501f21c
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Jul 13 21:45:37 2018 +0000

description:
dhclient->dhcpcd

diffstat:

 share/examples/apm/script |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r b81796a437f2 -r 86fcf501f21c share/examples/apm/script
--- a/share/examples/apm/script Fri Jul 13 21:44:32 2018 +0000
+++ b/share/examples/apm/script Fri Jul 13 21:45:37 2018 +0000
@@ -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 @@
        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 @@
        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.'



Home | Main Index | Thread Index | Old Index