summaryrefslogtreecommitdiff
path: root/solaris/Makefile.sol2-64
diff options
context:
space:
mode:
authorJames Carlson <carlsonj@workingcode.com>2004-11-15 00:57:54 +0000
committerJames Carlson <carlsonj@workingcode.com>2004-11-15 00:57:54 +0000
commit69dda243ba613a88ffd951de15b6906e14c49a65 (patch)
tree2733d9a8bfc34b6e58dbd11c5c7b79a3e834b8da /solaris/Makefile.sol2-64
parentf9f667ee187be5d34ac94f11bf366dd218191122 (diff)
downloadppp-69dda243ba613a88ffd951de15b6906e14c49a65.tar.gz
Cut down on spam from Solaris ppp kernel bits: unknown DLPI primitives
(as encountered on Solaris 10) aren't errors, and need to flush out any queued up (undecoded) data on the read side after pushing ppp_ahdlc.
Diffstat (limited to 'solaris/Makefile.sol2-64')
-rw-r--r--solaris/Makefile.sol2-644
1 files changed, 3 insertions, 1 deletions
diff --git a/solaris/Makefile.sol2-64 b/solaris/Makefile.sol2-64
index 1e94890..9d614ae 100644
--- a/solaris/Makefile.sol2-64
+++ b/solaris/Makefile.sol2-64
@@ -1,7 +1,7 @@
#
# Makefile for 64-bit STREAMS modules for Solaris 2.
#
-# $Id: Makefile.sol2-64,v 1.2 2003/03/31 12:07:28 carlsonj Exp $
+# $Id: Makefile.sol2-64,v 1.3 2004/11/15 00:57:54 carlsonj Exp $
#
include Makedefs.sol2
@@ -62,6 +62,7 @@ $(LP64DIR):
mkdir -m 755 -p $@
install:
+ /usr/sbin/modunload -i 0
cp ppp ppp.conf /kernel/drv
cp ppp_comp ppp_ahdl /kernel/strmod
cp $(LP64DIR)/ppp /kernel/drv/$(LP64DIR)
@@ -69,6 +70,7 @@ install:
if grep clone:ppp /etc/minor_perm; then :; else \
echo clone:ppp 0644 root sys >>/etc/minor_perm; fi
/usr/sbin/rem_drv ppp 2>/dev/null || true
+ /usr/sbin/modunload -i 0
/usr/sbin/add_drv ppp
SRCS = ppp.c ppp_mod.c ppp_ahdlc.c ppp_ahdlc_mod.c \