[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LSB header question



I have a number of start-stop-daemon based init scripts where the only difference between the files is in the init header. Other differences in the actual operation of the script are externalized into /etc/default so the rest of the script is identical. That init header difference is the script name. For application services even the rest of the init header is the same. Is there any way to specify the script name via variable substitution? Something like:

Provides: $script_name
Short-Description: Daemon for $script_name

thanks
steve

Reply to: