Opened 10 years ago

#199 new enhancement

Better error-checking and stuff in enable-scripts-test

Reported by: adehnert Owned by:
Priority: normal Milestone:
Component: misc Keywords:
Cc:

Description

enable-scripts-test had some uncommitted changes in the locker. This work should be finished sometime. It looks like it was improving it to do error reporting and stuff.

#if [ "$(id -u)" != 0 ]; then
#    echo "You must be root to use enable-scripts-test."
#    echo "Try 'firefox-test' if you do not have root access."
#    exit 77
#fi
#
#if [ -n "$1" ]; then
#    server=$(getent hosts "$1" | cut -d' ' -f1)
#    if [ -z "$server" ]; then
#        exit 68
#    fi
#else
#    server=18.181.0.236
#fi
#
#echo "Adding iptables rules to redirect scripts traffic to $server".
#
#if ! iptables -L | grep -q "^Chain scripts-test"; then
#    iptables -N scripts-test
#

Change History (0)

Note: See TracTickets for help on using tickets.