add and enable the skype protocol
[kdenetwork.git] / kppp / Rules / checkrules
blob9e695d5bdbd847a2b5002f1d6b04733347d9c3cb
1 #!/bin/sh
3 KPPP=`which kppp` || (echo "cannot find kppp"; exit 1)
5 cd `dirname $0 2> /dev/null` || (echo "\"dirname\" required"; exit 1)
7 FILESTOCHECK=`find -name "*.rst" -type f 2> /dev/null` || \
8 (echo "\"find\" required\""; exit 1)
10 for i in ${FILESTOCHECK}
12 echo -n "checking $i ..."
13 if ${KPPP} -r $i > /dev/null 2>&1
14 then
15 echo ok
16 else
17 echo "failed"
18 echo -n " "
19 ${KPPP} -r $i
20 #exit 1
22 done
23 exit 0