Login
You're viewing the discuss.systems public feed.
  • Aug 24, 2026, 3:29 PM

    2 - Replace the old script with the new one.
    You can delete first the old file with

    rm /etc/rc.d linux

    then open a text editor, copypaste the script and save the new file as linux.

    ee /etc/rc.d linux

    Or you can open the old file with a text editor, copypaste the new script over the old, and overwrite the original file.

    3 - Edit these lines in the script:

    Line 11:
    name="linux"

    Line 13:
    rcvar="linux_enable"

    Then save (or overwrite) the file.

    #bsd #freebsd #openbsd #foss

    💬 1🔄 0⭐ 0

Replies

  • Aug 24, 2026, 3:38 PM

    4 - Set the permission of the linux script if they are different, as precaution.

    chmod 555 /etc/rc.d/linux

    5 - Enable two services in rc.conf.
    Open rc.conf with a text editor

    ee /etc/rc.conf

    then add if these are missing or set different:

    linux_mounts_enable="YES"
    linux_vulkan_enable="YES"

    each entry on a single line, follow the formatting and do not change it.

    Save the changes.

    6 - Reboot

    💬 1🔄 0⭐ 0
  • Aug 24, 2026, 3:49 PM

    If you want set up a parallel service, without modify the file, this option is safe because updates could change the linux script.

    The procedure has little differences.

    1 - You can put the script with a new name, without delete or overwrite the original one, both in the main system folder

    /etc/rc.d

    otherwise, much better and highly advisable on a BSD system, under the software folder

    /urs/local/etc/rc.d

    #bsd #freebsd #ghostbsd #foss

    💬 1🔄 0⭐ 0
  • Aug 24, 2026, 4:11 PM

    2 - Open the text editor, copypaste the workaround, and save it with a new name in one of the folders above. You can give the script a new name, but you have to keep the name consistent everywhere inside the script.

    ee /usr/share/etc/rc.d linux_vlk

    3 - Edit these lines:

    Line 5:

    # PROVIDE: linux_vlk

    Line 13:

    rcvar="linux_vlk_enable"

    Line 110

    linux_vlk_start()

    Save (or overwrite) the file.

    #bsd #freebsd #openbsd #foss

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 24, 2026, 4:16 PM

    5 - Enable two services in rc.conf.
    Open rc.conf with a text editor

    ee /etc/rc.conf

    then set

    linux_enable="NO"

    and add

    linux_vlk_enable="YES"

    also check if these are missing or set different:

    linux_mounts_enable="YES"
    linux_vulkan_enable="YES"

    each entry on a single line, follow the formatting and do not change it.

    Save the changes.

    6 - Reboot

    #bsd #freebsd #ghostbsd #foss

    💬 0🔄 0⭐ 1