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:
#!/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? |
|
|
|
gregarican Here are two other questions related to my SL-5500... Sep 30 2005, 11:27 AM
lardman QUOTElooking for a way to run a script as root whe... Oct 1 2005, 02:16 AM
gregarican QUOTE(lardman @ Oct 1 2005, 06:16 AM)QUOTEloo... Oct 1 2005, 06:29 AM
lardman I think you'd start Hancom Word, then issue th... Oct 1 2005, 07:59 AM
gregarican QUOTE(lardman @ Oct 1 2005, 11:59 AM)I think ... Oct 1 2005, 02:05 PM
gregarican QUOTE(lardman @ Oct 1 2005, 11:59 AM)Though f... Oct 1 2005, 06:09 PM
gregarican As a follow-up on this, now it's first thing M... Oct 3 2005, 04:50 AM
lardman No problem, glad it worked,
Si Oct 3 2005, 06:00 AM
gregarican QUOTE(lardman @ Oct 3 2005, 10:00 AM)No probl... Oct 3 2005, 06:13 AM
gregarican The tiff angle still isn't too feasibile. Even... Oct 3 2005, 08:03 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 06:38 PM |