aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
blob: 3ac16a1aa94f65bc88bd8ed84ff18b385e248551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

OTDPASSWD_LOC=/usr/local/bin/pwcheck

if [[ $EUID -ne 0 ]]
then
    echo "Please run as root!"
    exit 1
fi

cp tools/pwcheck $OTDPASSWD_LOC