mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-20 16:00:26 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2973 e7d03fd6-7b0d-0410-9947-9c21f3af8025
15 lines
322 B
Bash
Executable file
15 lines
322 B
Bash
Executable file
#!/bin/sh
|
|
# network device, change as appropriate
|
|
NETDEV=ppp0
|
|
if ifconfig $NETDEV | grep RUNNING > /dev/null; then
|
|
echo "--resource=network"
|
|
fi
|
|
|
|
if msgfmt -V > /dev/null 2>&1; then
|
|
echo "--resource=msgfmt"
|
|
fi
|
|
|
|
os=`python -c "import os; print os.name"`
|
|
if [ "x$os" = "xposix" ]; then
|
|
echo "--resource=posix"
|
|
fi
|