I have an SL-5500 running Sharp ROM 3.10 and am looking for a way to run a script as root when the PDA finshes loading Qtopia. Here's the basic idea of the script:
#!/bin/sh
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
/usr/bin/smbmount //server_box/share1 /mnt/share1 -o username=user%pass
/usr/bin/smbmount //server_box/share2 /mnt/share2 -o username=user%pass
I tried symlinking /etc/rc.d/rc.local to /etc/rc.d/rc5.d/S49local but this didn't get the job done. Since the Zaurus runs as the zaurus user and not the root use I am having problems running the script unless I connect in and su as the root user.
Figuring sudo would be a thing to try I installed the ipk for it but before I could even verify and configure the /etc/sudoers file the root user account got messed up.
So here I am back at a restore point where I am trying to get this script to launch as Qtopia is loaded up. What's the easiest way to do this?
