OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Startup Script On Sharp 3.10 Rom, what's the easiest way?
post Sep 30 2005, 08:38 AM
Post #1

Group: Members
Posts: 24
Joined: 4-August 05
Member No.: 7,783

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:


/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?
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th April 2018 - 12:51 PM