From 75de7ac21731b972fb4a423325642066a2ee03f5 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 31 Jan 2005 22:45:02 +0000 Subject: [PATCH] added the 'template' distribution git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1832 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/distrib/Makefile.am | 1 + util-vserver/distrib/template/initpost | 22 ++++++++++++++++++++++ util-vserver/distrib/template/initpre | 22 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100755 util-vserver/distrib/template/initpost create mode 100755 util-vserver/distrib/template/initpre diff --git a/util-vserver/distrib/Makefile.am b/util-vserver/distrib/Makefile.am index 82f0825..8ff2542 100644 --- a/util-vserver/distrib/Makefile.am +++ b/util-vserver/distrib/Makefile.am @@ -35,6 +35,7 @@ nobase_distrib_DATA = defaults/devs \ defaults/apt.conf \ defaults/rpm/macros \ defaults/apt/apt.conf \ + template/initpost template/initpre \ rh9/apt/rpmpriorities rh9/pkgs/01 rh9/pkgs/02 \ fc1/apt/rpmpriorities fc1/pkgs/01 fc1/pkgs/02 \ fc2/apt/rpmpriorities fc2/pkgs/01 fc2/pkgs/02 \ diff --git a/util-vserver/distrib/template/initpost b/util-vserver/distrib/template/initpost new file mode 100755 index 0000000..c6f52fa --- /dev/null +++ b/util-vserver/distrib/template/initpost @@ -0,0 +1,22 @@ +#! /bin/bash + +# Copyright (C) 2005 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. + +## Called as: initpost + +. "$2" + +true diff --git a/util-vserver/distrib/template/initpre b/util-vserver/distrib/template/initpre new file mode 100755 index 0000000..cb6d3b7 --- /dev/null +++ b/util-vserver/distrib/template/initpre @@ -0,0 +1,22 @@ +#! /bin/bash + +# Copyright (C) 2005 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. + +## Called as: initpre + +. "$2" + +true -- 1.8.1.5