X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=tools%2Fcheckwronginitlinks;h=65fc946b68e7b8c83e52d9be3309fdc4ca7821d0;hp=6f001c0fe4e2b517e8e33ab02ffe7694fe5c7bf9;hb=30986dbf03b2ce231f3a53989d4d81ec7ccb1681;hpb=bca7488392f50882571118a969d804d377d9b3dd diff --git a/tools/checkwronginitlinks b/tools/checkwronginitlinks index 6f001c0fe4..65fc946b68 100755 --- a/tools/checkwronginitlinks +++ b/tools/checkwronginitlinks @@ -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