🐶 Sync 2025-11-02 14:26:26
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
'require fs';
|
||||
'require view';
|
||||
|
||||
return view.extend({
|
||||
handleSaveApply: null,
|
||||
handleSave: null,
|
||||
handleReset: null,
|
||||
|
||||
load: function() {
|
||||
return Promise.all([
|
||||
L.resolveDefault(fs.exec('/bin/sync', null), null),
|
||||
L.resolveDefault(fs.exec('/sbin/sysctl', ['-w', 'vm.drop_caches=3']), null),
|
||||
]);
|
||||
},
|
||||
|
||||
render: function () {
|
||||
window.location.href = '/cgi-bin/luci/';
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user