{
var id = this.id(sid);
- return L.system.getInfo(function(info) {
+ return L.system.getSystemInfo().then(function(info) {
var date = new Date();
var time = info.localtime;
});
e.load = function(sid) {
- return L.system.initEnabled('sysntpd', function(enabled) {
+ return L.system.initEnabled('sysntpd').then(function(enabled) {
e.options.initial = enabled;
});
};