Project

General

Profile

Download (308 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 -v -r -P no -l $2 -x $3 $4 2>&1 | logger -p daemon.info -i -t msntp
11
	sleep 60
12
done
(8-8/10)