Skip to content
Snippets Groups Projects
Commit fc1c5936 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove default user after setup via webadmin

parent 37364bf9
No related branches found
No related tags found
No related merge requests found
......@@ -715,6 +715,15 @@ function after_setup_has_finished {
web_admin_create_users
web_admin_create_installed_apps
web_admin_create_add_apps
# remove default user
if [ -d /home/fbone ]; then
userdel -r fbone
if [ -d /home/fbone ]; then
rm -rf /home/fbone
fi
fi
systemctl restart nginx
if [ -f $installer_script ]; then
rm $installer_script
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment