[Bug 255115] [PATCH] Allow service(8) to run rc.d scripts without arguments

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 16 10:59:01 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255115

            Bug ID: 255115
           Summary: [PATCH] Allow service(8) to run rc.d scripts without
                    arguments
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: sd at mostnet.ru

Created attachment 224157
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224157&action=edit
patch

Current service(8) shows help message when running script without arguments
(e.g. service motd). At the same time rc.d scripts allow no arguments and show
script usage and their commands:
# /etc/rc.d/motd
Usage: /etc/rc.d/motd
[fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabled|describe|extracommands)

It's quite useful when you want to see possible arguments for some service.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list