mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
checkwronglinks: add a check for var/run/* in rootfiles.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user