Commit c80f541f authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

eval.sh now tests for net_admin priviledge and uses bash.

parent 1b531432
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
#!/usr/bin/env bash
zsh build.sh
if [[ $(capsh --print | grep net_admin -c) -ne 2 ]]; then
    echo "Failed. Requires net_admin priviledge."
    exit 1
fi

bash build.sh
echo "Build completed."
sudo python3 eval.py
 No newline at end of file
python3 eval.py
 No newline at end of file