Question

how to disable "One-Click WordPress Droplet" command line script on login

When I login I get the following text:

This script will copy the WordPress installation into Your web root and move the existing one to /var/www/html.old

This setup requires a domain name. If you do not have one yet, you may cancel this setup, press Ctrl+C. This script will run again on your next login

Enter the domain name for your new WordPress site. (ex. example.org or test.example.org) do not include www or http/s

Domain/Subdomain name:

Which I can escape with Crtl C

How can I disable this script?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi there,

You can disable this with the following command:

cp /etc/skel/.bashrc /root

In case you need to run it again, you can execute the following:

/opt/digitalocean/wp_setup.sh

Hope that this helps!

Best,

Bobby

Hello @harryparkinson

You can comment out the line for the wp_setup.sh in the /etc/skel/.bashrc file or move the file as Bobby mentioned using the mv command

Regards