X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=NeXT%2FExamples%2Fip-down.example;fp=NeXT%2FExamples%2Fip-down.example;h=0000000000000000000000000000000000000000;hp=92576ec511cb32dfcf63801d45500195cada8c54;hb=5dce043b4b7e32d41598442361736a927a5db5e4;hpb=3e451dfe42426b51e6ce1d66a3e04de43e055568 diff --git a/NeXT/Examples/ip-down.example b/NeXT/Examples/ip-down.example deleted file mode 100644 index 92576ec..0000000 --- a/NeXT/Examples/ip-down.example +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -*- Fundamental -*- -# -# args: interface-name tty-device speed local-IP remote-IP - -PATH=/usr/ucb:/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin; export PATH - -# -# Remove the route to localhost that we created in ip-up -# -/usr/etc/route delete $4 127.0.0.1 - -# Let the nmserver know the fruits of our network configuration -# endeavor. This allows NXHost connections. Thanks to Glenn Brown -# -pid=`ps cax | egrep nmserver | awk '{print $1;}'` -if [ -n "$pid" ]; then - echo "PPP Reinitializing nmserver's network portion" > /dev/console - kill -USR2 $pid -fi - -# -# Let lookupd know that things have changed -# -pid=`ps cax | egrep lookupd | awk '{print $1;}'` -if [ -n "$pid" ]; then - echo "PPP Reinitializing lookupd" > /dev/console - kill -HUP $pid -fi - - - -