[Pkg-sysvinit-devel] Bug#464854: skeleton: Move skeleton code into a file that other scripts can include

Olaf van der Spek OlafvdSpek at GMail.Com
Sat Feb 9 12:41:40 UTC 2008


Package: initscripts
Version: 2.86.ds1-38
Severity: wishlist

Hi,

Would it be possible to move common code from skeleton into another file like /lib/lsb/init-functions such that code doesn't have to be duplicated?
The start|stop|restart|reload|force-reload case statement looks like a good candidate and default do_start and do_stop scripts (with optional callbacks) would be good as well.

Olaf

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  deb 2.17                                 Miscellaneous utilities specific t
ii  e2f 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 ext2 file system utilities and lib
ii  lib 2.3.6.ds1-13etch4                    GNU C Library: Shared libraries
ii  lsb 3.1-23.2etch1                        Linux Standard Base 3.1 init scrip
ii  mou 2.12r-19etch1                        Tools for mounting and manipulatin
ii  sys 2.86.ds1-38                          System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list