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
#!/bin/bash | |
# Periksa apakah skrip dijalankan sebagai pengguna root | |
if [ "$(id -u)" != "0" ]; then | |
echo "Skrip ini harus dijalankan dengan izin pengguna root." | |
echo "Silakan coba gunakan perintah 'Gunakan sudo -i' untuk beralih ke pengguna root, lalu jalankan skrip ini lagi." | |
exit 1 | |
fi | |
echo "=======================Titan Node=======================" |
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
#!/bin/bash | |
# Periksa apakah skrip dijalankan sebagai pengguna root | |
if [ "$(id -u)" != "0" ]; then | |
echo "Skrip ini harus dijalankan dengan izin pengguna root." | |
echo "Silakan coba gunakan perintah 'Gunakan sudo -i' untuk beralih ke pengguna root, lalu jalankan skrip ini lagi." | |
exit 1 | |
fi | |
echo "=======================Titan Node=======================" |
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
#!/bin/bash | |
# Periksa apakah skrip dijalankan sebagai pengguna root | |
if [ "$(id -u)" != "0" ]; then | |
echo "Skrip ini harus dijalankan dengan izin pengguna root." | |
echo "Silakan coba gunakan perintah 'Gunakan sudo -i' untuk beralih ke pengguna root, lalu jalankan skrip ini lagi." | |
exit 1 | |
fi | |
echo "=======================Titan Node=======================" |