* ophonekitd is now gone(and has been gone for a long time) * the -A option is absent in busybox version of ps, which leands to an exception raised when ps -A is executed on the busybox version of ps, which causes shr-settings to think that phonefsod is not running...
The patch was tested with phonefsod running and not running. Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]> --- shr-settings | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/shr-settings b/shr-settings index 3fd22ec..caa3fa0 100755 --- a/shr-settings +++ b/shr-settings @@ -408,7 +408,7 @@ class MainWindow: cat_table.pack(bt,col,row,1,1) #ophonekitd or phonefsod not running? - if os.popen("ps -A | grep 'ophonekitd\|phonefsod'").read() == "": + if os.popen("pidof phonefsod").read() == "": log('neither ophonekitd nor phonefsod is running!', logtype.FAIL) self.opkframe = elementary.Frame(self.win) -- 1.7.1 _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
