Index: sources/gui/qml/pages/settings/SettingsStack.qml =================================================================== diff -u -rc73feffa73c7fe073a7a7581144f5806dfc91beb -rfb43510552969e9fb3c3f10ae693ba81ea7e8d52 --- sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision c73feffa73c7fe073a7a7581144f5806dfc91beb) +++ sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision fb43510552969e9fb3c3f10ae693ba81ea7e8d52) @@ -54,7 +54,8 @@ DeviceConfiguration , DeviceRegistration , SWUpdate , - FactoryReset + FactoryReset , + RootSSHAccess } property var itemsText : [ qsTr("Information" ), // Information @@ -72,6 +73,7 @@ qsTr("Device Registration" ), // DeviceRegistration qsTr("Software Update" ), // SWUpdate qsTr("Factory Reset" ), // FactoryReset + qsTr("Enable Root SSH" ), // RootSSHAccess ] property var itemsEnabled : [ true , // Information @@ -89,6 +91,7 @@ true , // DeviceRegistration false , // SWUpdate serviceMode , // FactoryReset + serviceMode , // RootSSHAccess ] property var itemsVisible : [ true , // Information @@ -106,6 +109,7 @@ _GuiView.manufactMode && serviceMode , // DeviceRegistration // && serviceMode added to make sure the service mode is confirmed by HD false /* serviceMode phase 1 */ , // SWUpdate serviceMode , // FactoryReset + serviceMode , // RootSSHAccess ] SettingsHome { id : _settingsHome @@ -169,6 +173,11 @@ push( _settingsDeviceConfiguration ) break + case SettingsStack.RootSSHAccess: + vDevice.doInitRootSSHAccess() + push( _SettingsRootSSHAccess) + break + default: console.debug("Unknown Index", vIndex) break @@ -186,6 +195,7 @@ SettingsROInput { id: _settingsRoInput } SettingsManufacturingSetup { id: _settingsDeviceConfiguration } SettingsDeviceRegistration { id: _settingsDeviceRegistration } + SettingsRootSSHAccess { id: _SettingsRootSSHAccess } SettingsServicePassword { id: _servicePassword } function gotoServiceMode( vservice ) {