/etc # sh -x /etc/init.d/rc.cpmaccfg
+ DAEMON=cpmaccfg
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ [ -n cpmaccfg ]
+ [ ! -r /mod/etc/conf/cpmaccfg.cfg ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/cpmaccfg.cfg
+ [ -r /mod/etc/conf/cpmaccfg.cfg ]
+ . /mod/etc/conf/cpmaccfg.cfg
+ export CPMACCFG_ENABLED=yes
+ export CPMACCFG_ETH1_IP=192.168.0.1
+ export CPMACCFG_ETH1_SUBNET=255.255.255.0
+ export CPMACCFG_ETH2_IP=0.0.0.0
+ export CPMACCFG_ETH2_SUBNET=255.255.255.0
+ export CPMACCFG_ETH3_IP=0.0.0.0
+ export CPMACCFG_ETH3_SUBNET=255.255.255.0
+ export CPMACCFG_ETH4_IP=0.0.0.0
+ export CPMACCFG_ETH4_SUBNET=255.255.255.0
+ export CPMACCFG_FLOW1=disable
+ export CPMACCFG_FLOW2=disable
+ export CPMACCFG_FLOW3=disable
+ export CPMACCFG_FLOW4=disable
+ export CPMACCFG_MODE1=save
+ export CPMACCFG_MODE2=save
+ export CPMACCFG_MODE3=save
+ export CPMACCFG_MODE4=save
+ export CPMACCFG_SPEED1=10baseT-HD
+ export CPMACCFG_SPEED2=auto
+ export CPMACCFG_SPEED3=auto
+ export CPMACCFG_SPEED4=10baseT-HD
+ export CPMACCFG_VLAN1=eth0
+ export CPMACCFG_VLAN2=eth0
+ export CPMACCFG_VLAN3=eth0
+ export CPMACCFG_VLAN4=eth0
+ export CPMACCFG_WLAN=eth0
+ modreg cgi cpmaccfg Cpmaccfg
+ modreg daemon --hide cpmaccfg
+ exit 0
/etc #