certainlySyslog please.![]()
#!/bin/sh
sleep 10
if [ -e /tmp/mnt/4tb/share ]; then
logger "starting samba hack"
cp /jffs/configs/smb.conf.backup /etc/smb.conf
mkdir /var/run/samba
mkdir /etc/samba
/usr/sbin/smbd -D -s /etc/smb.conf
fi
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!