dnl dnl Macros for creating the SysV init scripts with nice or raw output dnl dnl --- T2-COPYRIGHT-BEGIN --- dnl t2/package/*/sysvinit/init_macros.m4 dnl Copyright (C) 2004 - 2026 The T2 SDE Project dnl Copyright (C) 1998 - 2003 ROCK Linux Project dnl SPDX-License-Identifier: GPL-2.0 dnl --- T2-COPYRIGHT-END --- dnl divert(-1) initstyle = sysv_nice ....... Nice colored output initstyle = sysv_text ....... Raw text output ifelse(initstyle, `sysv_nice', `define(`IT', `dnl') define(`IN', `')' , `define(`IT', `') define(`IN', `dnl')' ) define(`this_is_not_the_first_option', `') define(`default_restart', ` restart) `$'0 stop; `$'0 start ;; ') define(`end_restart', ` | restart') ifelse(initstyle, `sysv_nice', ` define(`main_begin', `title() { local x w="`$'(stty size 2>/dev/null