Restore Default File/Folder Structure
This script is unofficial and not supported by Ultra.cc staff.
This script will restore the mandatory files and directories offor your Ultra.cc service to itsthe default structure, and re-install your nginx webserver. This script will not overwrite any media files or application configuration files other than resetting your webserver (files you may have changed in ~/.apps/nginx
Listed below are all the files and directories that will be restored.
-
~/.bashrc
-
~/.profile
-
~/bin
-
~/.apps
-
~/downloads
-
~/media
-
~/www
Additionally, a symbolic link will be created between ~/downloads
and ~/www
Usage
- Connect to your Ultra.cc slot via SSH, see guide here
- Once connected, execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_restore/main.sh)
- You should see
Restoration process has been started...
- Then you should see
Service has been restored to default
- Done!