3 # The plusb network driver is a USB host-host cable based on the Prolific
4 # chip. It works a lot like the plip driver.
6 # To get the plusb module to load automatically at boot, you will need to
7 # add the following lines to /etc/conf.modules:
12 PATH=/sbin:/usr/sbin:/bin:/usr/bin
15 . /etc/sysconfig/network
16 . /etc/rc.d/init.d/functions
17 . /lib/rc-scripts/functions.network
22 if [ "foo$2" = "fooboot" ] && is_no "${ONBOOT}"; then
26 # set all major variables
29 if is_yes "$IPV4_NETWORKING"; then
30 if [ -n "$IP4ADDR" ]; then
31 ip -4 addr add ${IP4ADDR} peer ${REMIP} dev ${DEVICE}
35 if is_yes "$IPV6_NETWORKING"; then
36 if [ -n "$IP6ADDR" ]; then
37 ip -6 addr add ${IP6ADDR} dev ${DEVICE}
41 ip link set dev ${DEVICE} up
43 . /etc/sysconfig/network
45 # IPv4/6 gateways and default routes
48 /lib/rc-scripts/ifup-post $1