1 #!/bin/sh 2 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 if grep -q '^ok$' "$1" 2>/dev/null; then 7 # Take down tlsdated 8 kill -TERM $PPID 9 exit 1 10 fi 11 12 echo 'ok' > "$1" 13 sleep 10 14 exit 1 15