Reset keep-on-in-suspend when stopping the gps
authorEnrico Zini <enrico@enricozini.org>
Fri, 4 Dec 2009 19:55:38 +0000 (20:55 +0100)
committerEnrico Zini <enrico@enricozini.org>
Fri, 4 Dec 2009 19:55:38 +0000 (20:55 +0100)
hooks/gps

index 6eecd99f59664fde77f29c2cb62ea9691a5c9357..c11c8b965f89304dcd5a25ba6acf33afdec0efd7 100755 (executable)
--- a/hooks/gps
+++ b/hooks/gps
@@ -29,6 +29,7 @@ case "$1" in
        stop)
                /etc/init.d/gpsd stop
                om gps power 0
+               om gps keep-on-in-suspend o
        ;;
        *)
                echo "Usage: $0 {start|stop|status}." >&2