Skip to content

Instantly share code, notes, and snippets.

@robbiew
Last active April 20, 2021 14:32
Show Gist options
  • Save robbiew/2fdf9967d6a223072d5495898682db4e to your computer and use it in GitHub Desktop.
Save robbiew/2fdf9967d6a223072d5495898682db4e to your computer and use it in GitHub Desktop.
Enigma 1/2 BBS Linux Native Door config example
#!/bin/bash
# be sure to `chmod +x start.sh` to make this file executable
# change this to wherever you installed GD
cd /home/robbiew/enigma-bbs/doors/galactic-dynasty
# this passes the dropFilePath ARG from Enigma 1/2
./GalacticDynasty $1
// Install this Linux door: https://gitlab.com/apamment/galactic-dynasty
// Change paths as needed
{
menus: {
doorsMainMenu: {
desc: Doors Menu
art: DOORMNU
prompt: menuCommand
config: {
interrupt: realtime
}
submit: [
{
value: { command: "G" }
action: @menu:fullLogoffSequence
}
{
value: { command: "Q" }
action: @systemMethod:prevMenu
}
{
value: { command: "GD" }
action: @menu:GalacticDynasty
}
]
}
//
// Local Door Example via abracadabra module
//
// This example assumes launch_door.sh (which is passed args)
// launches the door.
//
GalacticDynasty: {
desc: Galactic Dynasty
module: abracadabra
config: {
name: Galactic Dynasty
dropFileType: DOOR
cmd: /home/robbiew/enigma-bbs/doors/galactic-dynasty/start.sh
args: [
"{dropFilePath}",
],
nodeMax: 1
tooManyArt: DOORMANY
io: stdio
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment