Interactive sudo mode may cause the application to hang when
the sudoers file was not updated correctly.
QString max;
max.setNum( newmax );
QStringList arguments;
+ //run sudo in non-interactive mode
+ arguments.append( "-n" );
+
#if defined(Q_WS_MAEMO_5)
//on Maemo5 the set_scalingmaxfreq-Script is not in $PATH
arguments.append( "/opt/usr/bin/set_scalingmaxfreq" );
//SmartReflex is only supprted on Maemo5
#if defined(Q_WS_MAEMO_5)
QStringList arguments;
+ //run sudo in non-interactive mode
+ arguments.append( "-n" );
arguments.append( "/opt/usr/bin/set_sr" );
if ( getSmartReflexState() == 1 )