This website requires JavaScript.
Explore
Help
Sign In
mirror
/
gluon-packages
mirror of
https://github.com/freifunk-gluon/packages.git
Watch
1
Star
0
Fork
You've already forked gluon-packages
0
Code
Releases
Activity
f2d62c2cf8
gluon-packages
/
gluon
/
gluon-core
/
files
/
lib
/
gluon
/
upgrade
/
130-reboot-on-oom
6 lines
88 B
Plaintext
Raw
Normal View
History
Unescape
Escape
gluon-core: add and use a sysctl Lua module
2014-07-07 20:47:09 +02:00
#!/usr/bin/lua
gluon-core: force kernel panic on out of memory In combination with kernel.panic the node will reboot if out of memory.
2014-02-17 23:23:29 +01:00
gluon-core: add and use a sysctl Lua module
2014-07-07 20:47:09 +02:00
local sysctl = require 'gluon.sysctl'
gluon-core: force kernel panic on out of memory In combination with kernel.panic the node will reboot if out of memory.
2014-02-17 23:23:29 +01:00
gluon-core: add and use a sysctl Lua module
2014-07-07 20:47:09 +02:00
sysctl.set('vm.panic_on_oom', 1)