reading: http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way http://www.dd-wrt.com/wiki/index.php/Samba3 $ vi /opt/etc/init.d/S08samba NAME=samba samba_active=1 [ 1 = $samba_active ] || exit 0 ## add user: steve grep -q steve /etc/passwd || echo “steve:*:992:992:steve:/var:/bin/false” >> /etc/passwd # add group grep -q steve /etc/group || echo “steve:x:992:” >> /etc/group # display chinese text in ssh shll grep -q LANG /tmp/root/.profile || echo “export …