mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Remove unnecessary code
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
b1c6255894
commit
b6e2d6bbef
28
CHANGELOG.md
28
CHANGELOG.md
@ -1,28 +0,0 @@
|
|||||||
# Changelog
|
|
||||||
This file is a running track of new features and fixes to each version of the install script released starting with `v0.0.1`.
|
|
||||||
|
|
||||||
This project follows [Semantic Versioning](http://semver.org) guidelines.
|
|
||||||
|
|
||||||
## Version v0.0.1
|
|
||||||
|
|
||||||
###Added
|
|
||||||
|
|
||||||
* Semantic Versioning
|
|
||||||
* CHANGELOG.md
|
|
||||||
* [ISSUE_TEMPLATE.md](https://github.com/Revenact/Pterodactyl-Script/commit/b8d7eae4367cff1f1fb84e4866fb50e0c9af801c)
|
|
||||||
* [PULL_REQUEST_TEMPLATE.md](https://github.com/Revenact/Pterodactyl-Script/commit/b8d7eae4367cff1f1fb84e4866fb50e0c9af801c)
|
|
||||||
* [Added a .gitignore](https://github.com/Revenact/Pterodactyl-Script/commit/b8d7eae4367cff1f1fb84e4866fb50e0c9af801c)
|
|
||||||
* [Support for Fedora 33](https://github.com/Revenact/Pterodactyl-Script/commit/c3c972a55750ecf189fe9e709d9f97b0350abccd)
|
|
||||||
* [Added Support for CentOS Stream](https://github.com/Revenact/Pterodactyl-Script/commit/e33f723382182961e76e74be5e1fbd40b971e89f)
|
|
||||||
|
|
||||||
###Updated
|
|
||||||
|
|
||||||
* [Docker Install for CentOS 8 and CentOS Stream](https://github.com/Revenact/Pterodactyl-Script/commit/e31c6d79e42edbd05ea1991944fabe7f14b47a8f)
|
|
||||||
* [README.md to show changes and updated URL](https://github.com/Revenact/Pterodactyl-Script/commit/7307f24c9a72b2d84d3b9d8262eedfacd3cd9a55)
|
|
||||||
|
|
||||||
###Removed
|
|
||||||
|
|
||||||
* [Support for Fedora 31](https://github.com/Revenact/Pterodactyl-Script/commit/c3c972a55750ecf189fe9e709d9f97b0350abccd)
|
|
||||||
* [Support for CentOS 7](https://github.com/Revenact/Pterodactyl-Script/commit/e33f723382182961e76e74be5e1fbd40b971e89f)
|
|
||||||
* [Support for Ubuntu 16.04](https://github.com/Revenact/Pterodactyl-Script/commit/588a6ab7b34bb8a44c2e839b22ced2d3cbc0b651)
|
|
||||||
* [Support for Debian 9](https://github.com/Revenact/Pterodactyl-Script/commit/2fd5cc4e3028620010524c15439ade7385a0554b)
|
|
10
install.sh
10
install.sh
@ -922,13 +922,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
harden_linux(){
|
|
||||||
curl https://raw.githubusercontent.com/Whonix/security-misc/master/etc/modprobe.d/30_security-misc.conf >> /etc/modprobe.d/30_security-misc.conf
|
|
||||||
curl https://raw.githubusercontent.com/Whonix/security-misc/master/etc/sysctl.d/30_security-misc.conf >> /etc/sysctl.d/30_security-misc.conf
|
|
||||||
sed -i 's/kernel.yama.ptrace_scope=2/kernel.yama.ptrace_scope=3/g' /etc/sysctl.d/30_security-misc.conf
|
|
||||||
curl https://raw.githubusercontent.com/Whonix/security-misc/master/etc/sysctl.d/30_silent-kernel-printk.conf >> /etc/sysctl.d/30_silent-kernel-printk.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
database_host_reset(){
|
database_host_reset(){
|
||||||
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com -4)
|
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com -4)
|
||||||
adminpassword=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`
|
adminpassword=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`
|
||||||
@ -983,7 +976,6 @@ case $installoption in
|
|||||||
1) repositories_setup
|
1) repositories_setup
|
||||||
required_infos
|
required_infos
|
||||||
firewall
|
firewall
|
||||||
harden_linux
|
|
||||||
setup_pterodactyl
|
setup_pterodactyl
|
||||||
broadcast
|
broadcast
|
||||||
broadcast_database
|
broadcast_database
|
||||||
@ -991,7 +983,6 @@ case $installoption in
|
|||||||
2) repositories_setup
|
2) repositories_setup
|
||||||
required_infos
|
required_infos
|
||||||
firewall
|
firewall
|
||||||
harden_linux
|
|
||||||
ssl_certs
|
ssl_certs
|
||||||
install_wings
|
install_wings
|
||||||
broadcast
|
broadcast
|
||||||
@ -1000,7 +991,6 @@ case $installoption in
|
|||||||
3) repositories_setup
|
3) repositories_setup
|
||||||
required_infos
|
required_infos
|
||||||
firewall
|
firewall
|
||||||
harden_linux
|
|
||||||
setup_pterodactyl
|
setup_pterodactyl
|
||||||
install_wings
|
install_wings
|
||||||
broadcast
|
broadcast
|
||||||
|
Loading…
Reference in New Issue
Block a user