Project

General

Profile

Download (263 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#!/bin/sh
2

    
3
# write our PID to file
4
echo $$ > $1
5

    
6
# execute msntp in endless loop; restart if it
7
# exits (wait 1 second to avoid restarting too fast in case
8
# the network is not yet setup)
9
while true; do
10
	/usr/local/bin/msntp -r -P no -l $2 -x $3 $4
11
	sleep 1
12
done
    (1-1/1)