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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2853 - (show annotations) (download) (as text)
Tue Aug 28 09:13:46 2007 UTC (7 years, 3 months ago) by uberlord
File MIME type: text/x-chdr
File size: 1146 byte(s)
Move more stuff to #defines
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_LEVEL_BOOT "boot"
15 #define RC_LEVEL_DEFAULT "default"
16
17 #define RC_LIBDIR "/" LIB "/rcscripts"
18 #define RC_SVCDIR RC_LIBDIR "/init.d"
19 #define RC_DEPTREE RC_SVCDIR "/deptree"
20 #define RC_RUNLEVELDIR "/etc/runlevels"
21 #define RC_INITDIR "/etc/init.d"
22 #define RC_CONFDIR "/etc/conf.d"
23
24 #define RC_KSOFTLEVEL RC_SVCDIR "/ksoftlevel"
25 #define RC_STARTING RC_SVCDIR "/softscripts.new"
26 #define RC_STOPPING RC_SVCDIR "/softscripts.old"
27
28 #define RC_SVCDIR_STARTING RC_SVCDIR "/starting"
29 #define RC_SVCDIR_INACTIVE RC_SVCDIR "/inactive"
30 #define RC_SVCDIR_STARTED RC_SVCDIR "/started"
31 #define RC_SVCDIR_COLDPLUGGED RC_SVCDIR "/coldplugged"
32
33 #define RC_PLUGINDIR RC_LIBDIR "/plugins"
34
35 /* Max buffer to read a line from a file */
36 #define RC_LINEBUFFER 4096
37
38 /* Good defaults just incase user has none set */
39 #define RC_NET_FS_LIST_DEFAULT "afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
40
41 #endif

  ViewVC Help
Powered by ViewVC 1.1.20