This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set tabstop=4 | |
| set shiftwidth=4 | |
| set smarttab | |
| set et | |
| set showmatch | |
| set hlsearch | |
| set incsearch | |
| set ignorecase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ ! -n "$1" ] | |
| then | |
| echo 'Missed argument : hostname' | |
| exit 1 | |
| fi | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "Sorry, you are not root." | |
| exit 1 | |
| fi |