HEX
Server: Apache/2.4.68 (codeit) OpenSSL/4.0.1
System: Linux societies-web 5.4.17-2136.353.3.el8uek.x86_64 #3 SMP Thu Feb 12 09:46:56 PST 2026 x86_64
User: yles (1028)
PHP: 8.3.31
Disabled: exec,shell_exec,passthru,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,symlink,pcntl_exec
Upload Files
File: //usr/libexec/initial-setup/initial-setup-graphical
#!/usr/libexec/platform-python

import os

from initial_setup import InitialSetup, InitialSetupError

is_instance = InitialSetup(gui_mode=True)

try:
    is_instance.run()
except InitialSetupError:
    # Initial Setup with graphical interface apparently failed
    exit(1)

# check if we should reboot the machine instead of continuing to
# the login screen
if is_instance.reboot_on_quit:
    os.system("reboot")

# Initial Setup with graphical interface completed successfully
exit(0)