• Linux Bash Script

    From Geri Atricks@21:3/235 to All on Sun Mar 8 21:56:24 2026
    Would the following script work to start the BBS on the second workspace?
    I already have the script setup in the autostart options, but added the wmctrl line because I want it to open the terminal window and start the BBS on the second workspace.

    #!/bin/bash
    (command &); wmctrl -r "Window Title" -t 1
    cd /mystic/semaphore
    rm *.bsy
    cd /mystic
    ./mis -server

    -FltCapt Dallas Vinson, SFI

    ... What hair color do they put on the driver's licenses of bald men?

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Legends of Yesteryear (21:3/235)
  • From niter3@21:1/199 to Geri Atricks on Mon Mar 9 06:31:15 2026
    Would the following script work to start the BBS on the second workspace? I already have the script setup in the autostart options, but added the wmctrl line because I want it to open the terminal window and start the BBS on the second workspace.

    #!/bin/bash
    (command &); wmctrl -r "Window Title" -t 1
    cd /mystic/semaphore
    rm *.bsy
    cd /mystic
    ./mis -server

    Without testing I cannot confirm, but it looks like it.

    Why not create a systemd service instead?

    ... Kilometers are shorter than miles. Save gas, take your trip in kilometers

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: Clutch BBS * telnet://clutchbbs.com (21:1/199)