]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-ipx_fix.patch
- fixed my sed->awk modifications (now tested and work)
[packages/rc-scripts.git] / rc-scripts-ipx_fix.patch
1 --- ./rc.d/init.d/network.org   Fri Nov  9 19:34:41 2001
2 +++ ./rc.d/init.d/network       Tue Feb 12 15:31:45 2002
3 @@ -76,7 +76,7 @@
4                 else
5                         IPXAUTOPRIMARY="off"
6                 fi
7 -               /usr/bin/ipx_configure --auto_primary=$IPXAUTOPRIMARY
8 +               /sbin/ipx_configure --auto_primary=$IPXAUTOPRIMARY
9         fi
10         if [ -n $IPXAUTOFRAME ] ; then
11                 if is_yes "$IPXAUTOFRAME"; then
12 @@ -84,10 +84,10 @@
13                 else
14                         IPXAUTOFRAME="off"
15                 fi
16 -               /usr/bin/ipx_configure --auto_interface=$IPXAUTOFRAME
17 +               /sbin/ipx_configure --auto_interface=$IPXAUTOFRAME
18         fi
19         if [ -n "$IPXINTERNALNETNUM" -a "$IPXINTERNALNETNUM" != "0" ]; then
20 -               /usr/bin/ipx_internal_net add $IPXINTERNALNETNUM $IPXINTERNALNODENUM
21 +               /sbin/ipx_internal_net add $IPXINTERNALNETNUM $IPXINTERNALNODENUM
22         fi
23  fi
24  }
25 @@ -204,6 +204,11 @@
26         ;;
27    restart)
28         $0 stop
29 +       show "Waiting 5 seconds for interfaces shutdown"
30 +       busy
31 +       sleep 5
32 +       deltext
33 +       ok
34         $0 start
35         ;;
36    *)
37 --- ./sysconfig/network-scripts/ifup-ipx.org    Wed May 16 15:12:07 2001
38 +++ ./sysconfig/network-scripts/ifup-ipx        Tue Feb 12 15:29:18 2002
39 @@ -19,8 +19,8 @@
40         exit 0
41  fi
42  
43 -if [ ! -x /usr/bin/ipx_interface ] ; then
44 -       nls "%s is missing. Can't continue." "/usr/bin/ipx_interface"
45 +if [ ! -x /sbin/ipx_interface ] ; then
46 +       nls "%s is missing. Can't continue." "/sbin/ipx_interface"
47         exit 1
48  fi
49  
50 @@ -44,7 +44,7 @@
51                esac
52  
53                ip link set $DEVICE up
54 -              /usr/bin/ipx_interface add $primary $DEVICE $frametype \
55 +              /sbin/ipx_interface add $primary $DEVICE $frametype \
56                    $(eval echo $(echo \$`echo IPXNETNUM_$framename`))
57                ;;
58         esac
This page took 0.064152 seconds and 3 git commands to generate.