checkwronglinks: add a check for var/run/* in rootfiles.

This commit is contained in:
Arne Fitzenreiter
2014-07-17 06:59:37 +02:00
parent 3a99677dd6
commit 261624fb99

View File

@@ -25,3 +25,10 @@ if [ "${?}" == "0" ]; then
grep -r "^etc/init.d//*" ./config/rootfiles/
echo "Change this to 'etc/rc.d/init.d/...' !"
fi
grep -r "^var/run//*" ./config/rootfiles/ >/dev/null 2>&1
if [ "${?}" == "0" ]; then
echo "Error! 'var/run/...' in rootfiles files found!"
grep -r "^var/run//*" ./config/rootfiles/
echo "Comment this and create it at initskript if needed !"
fi