1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add shutdown app

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-04-23 19:03:36 +02:00
parent 1d8ad58d4e
commit 1272f8a397
4 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
"luci-app-shutdown": {
"description": "Allow shutdown the device",
"read": {
"file": {
"/sbin/poweroff": [ "exec" ]
},
"ubus": {
"file": [ "exec" ]
}
}
}
}