( NevemTeve | 2024. 06. 08., szo – 20:06 )

Hát van egy /etc/init.d/conman, de az már nagyon meg van könnyítve, szóval egy kis fejlesztést végeztem rajta:

log_fini ()
{
# Output informational/error message at end of action.
##
  STATUS="$1"
  ERRMSG="$2"

  printf 'STATUS=%s ERRMSG=%s\n' "$STATUS" "$ERRMSG"
}

Tesztelése:

# /etc/init.d/conman start
STATUS=1 ERRMSG=ERROR:     Configuration "/etc/conman.conf" has no consoles defined