View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#7
Originally Posted by Matan View Post
It does not work like this. The killall commands after the sudo command will not run as root.

But it should not be a problem, since hildon-home and hildon-desktop run as user, so there should not be a problem to run those commands as user as well.
Are you saying that

Code:
#! /bin/sh

/usr/bin/killall hildon-desktop
/usr/bin/killall hildon-home
would do what he wants it to do?

EDIT: Changed it in the above script.

Also, if he's not root, would he need a -9?
__________________
N9: Go white or go home

Last edited by daperl; 2010-03-05 at 19:06.
 

The Following User Says Thank You to daperl For This Useful Post: