General TC > General TC Talk
Get APPS with no internet on TC laptop? Load APS on boot from auto-mounted USB?
grandma:
Found this on wifi
http://www.murga-linux.com/puppy/viewtopic.php?p=356367&sid=b793ce8a98469df65ecc00afd8be5c85
Once I get Perl stable and a simple PDF reader (so I know I can install aps that stick) I will start playing with the wifi.
Juanito:
--- Quote from: grandma on April 10, 2011, 07:22:30 PM ---1. Is there a "SWITCH" I can add to the APPEND that says "GO FETCH AND LOAD ALL APS IN THE OPTIONAL FOLDER - AND DO IT WITHOUT MOUNTING THE USB STICK?" Its a boot device, so I figured it already saw it - or perhaps an "auto mount" command in the cfg file.
--- End quote ---
If your extensions are on the usb stick you need to mount it to access them. You can add "mount /dev/sdb1" or similar to /opt/bootlocal.sh to mount the usb stick on boot. If you want all of your extension to load on boot, you can set them to "onboot" using apps audit.
--- Quote ---c) how to execute a perl program or other file - on boot or 10 seconds later
--- End quote ---
add the command to /opt/bootlocal.sh
--- Quote ---d) and can anyone tell me where those perl files were "extracted" to so I can go check the libraries that came over?
--- End quote ---
Look in /tmp/tcloop/perl5
--- Quote ---e) Are there any "file association" settings so the command PERL PROGRAM.PL can be reduced to PROGRAM.PL
--- End quote ---
Maybe changing the shebang to /usr/local/bin/perl might work?
--- Quote ---Thank you all for the assistance. Its Sunday - hope you're all getting a bit of sunshine.
--- End quote ---
Sunday is the first day of the working week here ;)
Juanito:
--- Quote from: grandma on April 10, 2011, 02:45:31 PM ---And any TCZ file - or GZ file - or .TAR file? Can I put any of those in /tce/optional also - or only TCZ files?
--- End quote ---
You can of course put any file anywhere you like, but only tcz files will be loaded by the apps browser or "tce-load" command.
grandma:
Hey Juanito - I got the HELLO WORLD to fly - wooo hooo - thanks 2 you!
grandma:
I don't have a file called /opt/bootlocal.sh
if I create that on the hard drive - would that work and save?
is it c:\tce\opt or
c:\tc\opt
not sure how to configure this in windows.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version