#!/bin/sh

while ! sudo -n -u debian-tor /usr/local/sbin/tor-has-bootstrapped ; do
   sleep 10
done

exec /usr/local/bin/tails-security-check


syntax highlighted by Code2HTML, v. 0.9.1