X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pathconfig.h.pathsubst;fp=pathconfig.h.pathsubst;h=8e0f72bdd1e5df7201a7674a3ed9c0ff85123113;hb=8cf13bb177d92c93eb73dc8939777150536c2d00;hp=0000000000000000000000000000000000000000;hpb=6bf3f95de36c804c97716b2d0bdf10680c559044;p=util-vserver.git diff --git a/pathconfig.h.pathsubst b/pathconfig.h.pathsubst new file mode 100644 index 0000000..8e0f72b --- /dev/null +++ b/pathconfig.h.pathsubst @@ -0,0 +1,52 @@ +// $Id: pathconfig.h.pathsubst,v 1.11 2004/08/19 14:06:59 ensc Exp $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_PATHCONFIG_H +#define H_UTIL_VSERVER_PATHCONFIG_H + +#define PKGLIBDIR "@PKGLIBDIR@" +#define SBINDIR "@SBINDIR@" +#define CONFDIR "@CONFDIR@" +#define SYSCONFDIR "@SYSCONFDIR@" +#define LOCKDIR "/var/lock" +#define PKGLIBDEFAULTDIR PKGLIBDIR "/defaults" + +#define DEFAULT_VSERVERDIR "@VSERVERDIR@" +#define DEFAULT_VSERVERPKGDIR "@VSERVERPKGDIR@" +#define DEFAULT_PKGSTATEDIR "@PKGSTATEDIR@" +#define DEFAULT_PKGSTATEREVDIR "@PKGSTATEREVDIR@" + +#define MOUNT_PROG "@MOUNT@" +#define UMOUNT_PROG "@UMOUNT@" +#define PS_PROG "@PS@" + +#define VPKG_PROG PKGLIBDIR "/vpkg" +#define RESOLVER_PROG PKGLIBDIR "/rpm-fake-resolver" + +#define PROG_IP "@IP@" +#define PROG_MODPROBE "@MODPROBE@" +#define PROG_NAMEIF "@NAMEIF@" +#define PROG_VCONFIG "@VCONFIG@" + +#define PROG_SECURE_MOUNT PKGLIBDIR "/secure-mount" + +#define PATH_VSERVER_START PKGLIBDIR "/vserver.start" +#define PATH_FUNCTIONS PKGLIBDIR "/functions" +#define PATH_UTILVSERVER_VARS PKGLIBDIR "/util-vserver-vars" + +#endif // H_UTIL_VSERVER_PATHCONFIG_H