Use the packaged om-device script
authorEnrico Zini <enrico@enricozini.org>
Tue, 13 Oct 2009 09:16:01 +0000 (10:16 +0100)
committerEnrico Zini <enrico@enricozini.org>
Tue, 13 Oct 2009 09:16:01 +0000 (10:16 +0100)
src/gps.vala

index 9804b2198a0301bc11c1c1e7d38a0027e95e47e9..6c64880e329a4fdce349ad9d155624eecc62e4ed 100644 (file)
@@ -77,7 +77,7 @@ public class GPS: zavai.Service
                } catch (GLib.Error e) {
                        zavai.log.error(e.message);
                        try {
-                               zavai.app.run_script("device start gps");
+                               zavai.app.run_script("om-device start gps");
                        } catch (Error e) {
                                zavai.log.error("Running device start gps: " + e.message);
                        }
@@ -96,7 +96,7 @@ public class GPS: zavai.Service
                } catch (GLib.Error e) {
                        zavai.log.error(e.message);
                        try {
-                               zavai.app.run_script("device stop gps");
+                               zavai.app.run_script("om-device stop gps");
                        } catch (Error e) {
                                zavai.log.error("Running device stop gps: " + e.message);
                        }