QUOTE(dougeeebear @ Jul 26 2007, 06:19 AM)
I copied the code you gave me to a file which I named "ipk" (because you said to run "sudo ipk"
) and made it executable.
In the terminal as root, I cd to /mnt/card where I have "ipk" and "amortize_1.0.0_arm.ipk" located for testing.
When I run "sudo ipk amortize_1.0.0_arm.ipk" I get an error message something like "not found: sudo ipk".
I'm going to guess that the directory you put the 'ipk' file into was not in your path, in which case you'd need to specify the path to the executable. If you're in the directory containing the executable, you could do:sudo ./ipk amortize_1.0.0_arm.ipk
A better solution, if you're planning to use this script, would be to put it into a directory that is in your path. That could be /usr/bin or some other directory where you store executables.
BTW, you don't need to run sudo if you're logged in as root. The sudo command allows you to run commands with root privileges while you are logged in as a normal user. If you're root, just leave the sudo part off.