2026-03-24 03:30:16 +07:00

8 lines
129 B
Bash

#!/bin/bash
require_root() {
if [ $EUID -ne 0 ]; then
echo "This script must be run as root"
exit 1
fi
}