#!/bin/sh pool=`nvram get apps_pool` share=`nvram get apps_share` internal_hdd=/dev/ide/host2/bus0/target0/lun0/disc if [ \! -f /tmp/rc.local.done ]; then # Indicate we've already done this touch /tmp/rc.local.done # # Mount /opt and connect in various system files # if [ -e /shares/${pool}/opt ]; then mount -o bind /shares/${pool}/opt /opt cat /proc/mounts > /opt/etc/fstab ln -s /opt/etc/shells /tmp/shells ln -s /opt/etc/fstab /tmp/fstab export PATH=/opt/bin:/opt/sbin:${PATH} export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH} fi # Start utelnetd on local interface only! /apps/bin/utelnetd -i br0 & fi