Fixed gps hook
authorEnrico Zini <enrico@enricozini.org>
Thu, 3 Dec 2009 12:44:36 +0000 (13:44 +0100)
committerEnrico Zini <enrico@enricozini.org>
Thu, 3 Dec 2009 12:44:36 +0000 (13:44 +0100)
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