#!/bin/bash

if [[ "$1" == "set" ]]; then
    test "$QS_USERNAME" == "admin" || exit 0
    PASSWORD="$QS_PASSWORD" /usr/sbin/adminpasswd
fi
