70-upgrade-additional-software.sh 250 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh

set -e

# Run only when the interface is not "lo":
if [ "$1" = "lo" ]; then
        exit 0
fi

# Run whenever an interface gets "up", not otherwise:
if [ "$2" != "up" ]; then
   exit 0
fi

/usr/local/sbin/tails-additional-software upgrade