#!/bin/bash if [[ "$(whoami)" != "root" ]]; then echo "请切换root用户 ." >&2 exit 1 fi echo "适用CENTOS 7" echo -e "