15 lines
159 B
Bash
Executable file
15 lines
159 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# $Id$
|
|
|
|
set -e
|
|
|
|
[[ -z $1 ]] && exit
|
|
[[ -z $2 ]] && exit
|
|
|
|
if [ ! -f $1 ] ; then
|
|
while [ -d /proc/$2 ] ; do
|
|
echo -n "."
|
|
sleep 1
|
|
done
|
|
fi
|