Fixed gps hook
[gregoa/zavai.git] / hooks / gps
index 410248735b80600ff22c2405060ede89fc7e2167..6eecd99f59664fde77f29c2cb62ea9691a5c9357 100755 (executable)
--- a/hooks/gps
+++ b/hooks/gps
@@ -19,7 +19,7 @@ case "$1" in
                old=`om gps --swap power 1`
                if [ $old = 0 ]
                then
-                       om gpt keep_on_during_suspend 1
+                       om gps keep-on-in-suspend 1
                        /etc/init.d/gpsd stop
                        # TODO: configure to UBX mode
                        /etc/init.d/gpsd start