X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=sunos4%2Fppp.INSTALL;h=0018bf8d0f2810713c073e2037ff1a3e358e6dc3;hp=aa55a5d8bcfaa0a55717af9bcbfda19ae557f146;hb=dfff9ed93f3b87b5c775bcb6de1daaa4bc0575fb;hpb=bb0891f628e55fbdb149671d0e6344bc84983ec7 diff --git a/sunos4/ppp.INSTALL b/sunos4/ppp.INSTALL index aa55a5d..0018bf8 100755 --- a/sunos4/ppp.INSTALL +++ b/sunos4/ppp.INSTALL @@ -64,13 +64,13 @@ case "$0" in echo "Usage: $0 module-id module-type b-major c-major" exit 1 fi - if [ "$2" -ne "12345607" ]; then + if [ "$2" -ne "12345607" -a "$2" -ne "12345600" ]; then echo "$0: $2: bad module type" exit 1 fi rm -f /dev/ppp # we "just know" that 37 is the major number of the clone driver - mknod /dev/ppp c 37 $3 + mknod /dev/ppp c 37 $4 chmod 644 /dev/ppp exit 0 ;; @@ -84,7 +84,7 @@ case "$0" in id=`modstat | grep -w $mod | awk '{print $1}'` if [ x$id = x ]; then echo "$mod is not loaded." - stat = 1 + stat=1 else modunload -id $id fi @@ -93,7 +93,7 @@ case "$0" in ;; *ppp.RMDEV) - echo "$# args: $*" + rm -f /dev/ppp exit 0 ;;