summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2005-12-02 10:56:06 +0000
committerChristian Heim <phreak@gentoo.org>2005-12-02 10:56:06 +0000
commita14ee4ab9b6b622475c9520fb3d08e6f78b08881 (patch)
treeff48cc3f5de2918ab569e3cb391db1ec883a35eb /src/core/librcscripts/rcscripts.h
parentImport the latest baselayout changes. Merging revision 1648. (diff)
downloadbaselayout-vserver-a14ee4ab9b6b622475c9520fb3d08e6f78b08881.tar.gz
baselayout-vserver-a14ee4ab9b6b622475c9520fb3d08e6f78b08881.tar.bz2
baselayout-vserver-a14ee4ab9b6b622475c9520fb3d08e6f78b08881.zip
Import the latest baselayout changes. Merging revision 1658.
svn path=/baselayout-vserver/trunk/; revision=127
Diffstat (limited to 'src/core/librcscripts/rcscripts.h')
-rw-r--r--src/core/librcscripts/rcscripts.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/core/librcscripts/rcscripts.h b/src/core/librcscripts/rcscripts.h
new file mode 100644
index 0000000..ea1c9c9
--- /dev/null
+++ b/src/core/librcscripts/rcscripts.h
@@ -0,0 +1,54 @@
+/*
+ * rcscripts.h
+ *
+ * Core defines.
+ *
+ * Copyright (C) 2004,2005 Martin Schlemmer <azarah@nosferatu.za.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ * $Header$
+ */
+
+#ifndef _RCSCRIPTS_H
+#define _RCSCRIPTS_H
+
+#define RCSCRIPTS_CONFDDIR ETCDIR "/conf.d"
+#define RCSCRIPTS_INITDDIR ETCDIR "/init.d"
+#define RCSCRIPTS_LIBDIR LIBDIR "/rcscripts"
+
+#define SBIN_RC SBINDIR "/rc"
+#define PROFILE_ENV ETCDIR "/profile.env"
+
+#define RC_CONF_FILE_NAME ETCDIR "/rc.conf"
+#define RC_CONFD_FILE_NAME ETCDIR "/conf.d/rc"
+
+#define RCSCRIPT_HELP RCSCRIPTS_LIBDIR "/sh/rc-help.sh"
+
+#define SVCDIR_CONFIG_ENTRY "svcdir"
+
+#define SHELL_PARSER BINDIR "/bash"
+
+#define DEFAULT_PATH "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin"
+
+#define SELINUX_LIB RCSCRIPTS_LIBDIR "/runscript_selinux.so"
+
+#define SYS_WHITELIST RCSCRIPTS_LIBDIR "/conf.d/env_whitelist"
+#define USR_WHITELIST RCSCRIPTS_CONFDDIR "/env_whitelist"
+
+#define SOFTLEVEL "SOFTLEVEL"
+
+#endif /* _RCSCRIPTS_H */
+