8 lines
129 B
Bash
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
|
|
} |