/[baselayout]/trunk/src/rc-misc.h
Gentoo

Contents of /trunk/src/rc-misc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2560 - (show annotations) (download) (as text)
Sun Apr 8 16:03:48 2007 UTC (7 years, 5 months ago) by uberlord
File MIME type: text/x-chdr
File size: 896 byte(s)
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.
1 /*
2 rc-misc.h
3 This is private to us and not for user consumption
4 Copyright 2007 Gentoo Foundation
5 */
6
7 #ifndef __RC_MISC_H__
8 #define __RC_MISC_H__
9
10 #ifndef LIB
11 # define LIB "lib"
12 #endif
13
14 #define RC_LIBDIR "/" LIB "/rcscripts/"
15 #define RC_SVCDIR RC_LIBDIR "init.d/"
16 #define RC_DEPTREE RC_SVCDIR "deptree"
17 #define RC_RUNLEVELDIR "/etc/runlevels/"
18 #define RC_INITDIR "/etc/init.d/"
19 #define RC_CONFDIR "/etc/conf.d/"
20
21 #define RC_SVCDIR_STARTING RC_SVCDIR "starting/"
22 #define RC_SVCDIR_INACTIVE RC_SVCDIR "inactive/"
23 #define RC_SVCDIR_STARTED RC_SVCDIR "started/"
24 #define RC_SVCDIR_COLDPLUGGED RC_SVCDIR "coldplugged/"
25
26 #define RC_PLUGINDIR RC_LIBDIR "plugins/"
27
28 /* Max buffer to read a line from a file */
29 #define RC_LINEBUFFER 4096
30
31 /* Good defaults just incase user has none set */
32 #define RC_NET_FS_LIST_DEFAULT "afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
33
34 #endif

  ViewVC Help
Powered by ViewVC 1.1.20