Redirect to user control panel
This commit is contained in:
parent
b3a0655cc2
commit
5d4c4d27fa
|
@ -1732,6 +1732,10 @@ if [ ! -f $COMPLETION_FILE ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $USER != 'root' ]]; then
|
||||
# show the user version of the control panel
|
||||
exit $(freedombone-controlpanel-user)
|
||||
fi
|
||||
ADMIN_USER=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
|
||||
read_repo_servers
|
||||
menu_top_level
|
||||
|
|
Loading…
Reference in New Issue