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/0890ce0d49ee
branches:  trunk
changeset: 324637:0890ce0d49ee
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 90d15e4af518 -r 0890ce0d49ee 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