diff --git a/wnf.py b/wnf.py index 25cf5edbce..1abf6f3e51 100755 --- a/wnf.py +++ b/wnf.py @@ -181,6 +181,8 @@ def run(): ss.validate() ss.on_update() os.system('chown -R apache:apache *') + if not os.path.exists('public/login-page.html') and os.path.exists('public/index.html'): + os.system('cp public/index.html public/login-page.html') # code replace elif options.replace: