| Prev |   1   2 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   killall = no process killed ? (https://talk.maemo.org/showthread.php?t=57289)

leetut 2010-06-27 22:41

Re: killall = no process killed ?
 
chmod u+x /home/user/bin/smsmodscript
gives me: no such file or directory?

tried removing .txt from the file and from the command

my txt file is called smsmodscript.txt

i dont have a /home/user/bin/ folder
only have a /usr/bin folder

using WinSCP

http://img443.imageshack.us/img443/355/82578614.png

willi_iam 2010-06-27 22:49

Re: killall = no process killed ?
 
It doesn't matter where you save the file, but I don't like saving it to /usr/bin because it's a system folder (and would get lost with a reflash ;) ).

You can save it to /home/user also, or you create /home/user/bin with:
Code:

mkdir /home/user/bin
for the chmod-command you have to change into the directory where the file is located and type:
'chmod u+x smsmodscript'
or, if you're in an other directory:
'chmod u+x /your/path/to/smsmodscript'

where 'smsmodscript' is the filename you've choosen for the script and which it was saved to...

leetut 2010-06-27 22:56

Re: killall = no process killed ?
 
ive put the file smsmodscript.txt into home/user

and typed chmod u+x smsmodscript
and
chmod u+x /home/user/smsmodscript

but still get no such file or directory

willi_iam 2010-06-27 23:01

Re: killall = no process killed ?
 
you have to use the correct filename...

Either you rename the file to 'smsmodscript' (without .txt) or you have to add the .txt to chmod-command

I'd prefer renaming, because .txt is misleading ;)

leetut 2010-06-27 23:11

Re: killall = no process killed (solved!)
 
id just figured that out bro, when it started working!
awesome info all that, i knew it was going to work when i started reading it,
as always it was just a case of my brain understanding it!
anyway, what i did was make 2 buttons, one to crash the messaging app, and one to make it work again, kind of a a lock and unlock feature:

http://img441.imageshack.us/img441/2...0062722270.png

willi_iam 2010-06-27 23:20

Re: killall = no process killed ?
 
Hey... I'm glad if i could help you...

Now go on and script the hell out of your pocket-plaything :P

leetut 2010-06-27 23:33

Re: killall = no process killed ?
 
yeah man, both you and Joorin helped me understand a lot in this thread, but your info got my little mod working!
now my woman cant look at my texts when im not around!
happy days!

Joorin 2010-06-28 19:22

Re: killall = no process killed ?
 
Quote:

Originally Posted by leetut (Post 732022)
now my woman cant look at my texts when im not around!
happy days!

That's the lowest level of hack there is. ;)


| Prev |   1   2 |
All times are GMT. The time now is 11:09.

vBulletin® Version 3.8.8