updates to setup and such, and included the postinstall commands in programs.cfg

This commit is contained in:
Izaya 2018-08-04 05:24:07 +10:00
parent eb1a86af03
commit fc5f800e61
3 changed files with 13 additions and 1 deletions

View File

@ -8,7 +8,10 @@ This package includes the Minitel daemon, in etc/rc.d/minitel.lua, and the net l
#### With OPPM #### With OPPM
1. Run `oppm install minitel` 1. Run `oppm install minitel-util`
2. Run `mtcfg`
This will walk you through setting up Minitel.
#### Manual #### Manual

View File

@ -5,6 +5,9 @@
["master/OpenOS/usr/lib/net.lua"] = "/lib", ["master/OpenOS/usr/lib/net.lua"] = "/lib",
["master/OpenOS/usr/man/minitel"] = "/man", ["master/OpenOS/usr/man/minitel"] = "/man",
}, },
postinstall = {
"rc minitel enable",
},
name = "Minitel", name = "Minitel",
description = "Simple and powerful networking stack", description = "Simple and powerful networking stack",
authors = "Izaya, Skye", authors = "Izaya, Skye",
@ -18,6 +21,9 @@
dependencies = { dependencies = {
["minitel"] = "" ["minitel"] = ""
}, },
dependencies = {
"mtcfg",
},
name = "Minitel Util", name = "Minitel Util",
description = "Assorted Minitel utilities", description = "Assorted Minitel utilities",
authors = "Izaya", authors = "Izaya",

View File

@ -130,3 +130,6 @@ if fobj then
fobj:close() fobj:close()
print("Settings successfully written!") print("Settings successfully written!")
end end
print("Enabling daemon...")
os.execute("rc minitel enable")