#!/bin/sh case "$REASON" in connect) if ! test -f test-sleep.tmp;then touch test-sleep.tmp sleep 600 fi ;; disconnect) ;; esac exit 0