1 # /etc/profile: system-wide .profile file for the Bourne shells
3 PATH=/bin:/sbin:/usr/bin
7 firsttime=`echo /var/udhcpd/udhcpd.lease*`
8 if [ "$firsttime" = "/var/udhcpd/udhcpd.lease*" ]; then
9 echo "Loading drivers and kernel modules... "
12 # create directory in /var mounted for TMPFS
13 mkdir -p /var/log /var/run /var/state/dhcp /var/ppp /var/udhcpd /var/zebra /var/siproxd
14 echo > /var/udhcpd/udhcpd.leases
15 ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 up
16 # /etc/modules_install /lib/modules/$KERNELVER/extra
17 test -e /lib/modules/$KERNELVER/extra/profdrvdd.ko && insmod /lib/modules/$KERNELVER/extra/profdrvdd.ko
18 test -e /lib/modules/$KERNELVER/extra/atmapi.ko && insmod /lib/modules/$KERNELVER/extra/atmapi.ko
19 test -e /lib/modules/$KERNELVER/extra/blaa_dd.ko && insmod /lib/modules/$KERNELVER/extra/blaa_dd.ko
20 test -e /lib/modules/$KERNELVER/extra/adsldd.ko && insmod /lib/modules/$KERNELVER/extra/adsldd.ko
21 test -e /lib/modules/$KERNELVER/extra/bcmprocfs.ko && insmod /lib/modules/$KERNELVER/extra/bcmprocfs.ko
22 test -e /lib/modules/$KERNELVER/extra/bcm_enet.ko && insmod /lib/modules/$KERNELVER/extra/bcm_enet.ko
23 test -e /lib/modules/$KERNELVER/extra/bcm_usb.ko && insmod /lib/modules/$KERNELVER/extra/bcm_usb.ko
24 test -e /lib/modules/$KERNELVER/extra/wl.ko && insmod /lib/modules/$KERNELVER/extra/wl.ko
25 test -e /lib/modules/$KERNELVER/extra/endpointdd.ko && insmod /lib/modules/$KERNELVER/extra/endpointdd.ko