source so-common

This commit is contained in:
Wes Lambert
2020-01-14 13:48:57 +00:00
parent 04570d5502
commit 348dbb752a

View File

@@ -15,20 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
SKIP=0
got_root() {
# Make sure you are root
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
}
got_root
while getopts "abowi:" OPTION
do
case $OPTION in