From 4dbedcf2a334e6a5ebdebc2299dfc90fa73fff8c Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 28 May 2024 10:18:05 +0200 Subject: [PATCH] Update INSTALL.sh --- INSTALL.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/INSTALL.sh b/INSTALL.sh index b2a53e31..becba70b 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -947,6 +947,11 @@ setup_openadmin() { password_hash=$(python3 ${OPENPADMIN_DIR}core/users/hash $admin_password) debug_log sqlite3 ${OPENPADMIN_DIR}users.db "CREATE TABLE IF NOT EXISTS user (id INTEGER PRIMARY KEY, username TEXT UNIQUE NOT NULL, password_hash TEXT NOT NULL, role TEXT NOT NULL DEFAULT 'user', is_active BOOLEAN DEFAULT 1 NOT NULL);" "INSERT INTO user (username, password_hash, role) VALUES ('admin', \"$password_hash\", 'admin');" + + # added in 0.1.9 + cp helpers/welcome.sh /etc/profile.d/welcome.sh + chmod +x /etc/profile.d/welcome.sh + }