check latest kernel is running
This commit is contained in:
parent
5b66659ce2
commit
49a097246d
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ defaults = {
|
||||||
'vars.sudo': True,
|
'vars.sudo': True,
|
||||||
'check_interval': '1d',
|
'check_interval': '1d',
|
||||||
},
|
},
|
||||||
|
'current kernel': {
|
||||||
|
'vars.command': 'ls /boot/vmlinuz-* | sort -V | tail -n 1 | xargs -n1 basename | cut -d "-" -f 2- | grep -q "^$(uname -r)$"',
|
||||||
|
'check_interval': '1h',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue