added the 'template' distribution
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Jan 2005 22:45:02 +0000 (22:45 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Jan 2005 22:45:02 +0000 (22:45 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1832 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/distrib/Makefile.am
util-vserver/distrib/template/initpost [new file with mode: 0755]
util-vserver/distrib/template/initpre [new file with mode: 0755]

index 82f0825..8ff2542 100644 (file)
@@ -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 (executable)
index 0000000..c6f52fa
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+# Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+#  
+# 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 <cfgdir> <path of util-vserver-vars>
+
+. "$2"
+
+true
diff --git a/util-vserver/distrib/template/initpre b/util-vserver/distrib/template/initpre
new file mode 100755 (executable)
index 0000000..cb6d3b7
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+# Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+#  
+# 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 <cfgdir> <path of util-vserver-vars>
+
+. "$2"
+
+true