#!/usr/bin/bash
if [ $# -ne 1 ]; then
        exit 0
fi

if [ $1 -eq 0 ]; then
        modprobe udl >/dev/null 2>&1 || exit 0
elif [ $1 -eq 1 ]; then
        modprobe -r udl >/dev/null 2>&1 || exit 0
else
        exit 0
fi
