summaryrefslogtreecommitdiffstats
path: root/scripts/upd-kernel
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2007-12-15 20:51:46 -1000
committerDavid Cantrell <dcantrell@redhat.com>2007-12-17 08:52:53 -1000
commit607f9e39218b8141d679ca51375d3b169ebe8990 (patch)
treea5b7699dca86ad3fe52672ede2dbacf24b72fd04 /scripts/upd-kernel
parent0f73189b4d9a9065cb6a3718494e7b3d43368a9f (diff)
downloadanaconda-607f9e39218b8141d679ca51375d3b169ebe8990.tar.gz
anaconda-607f9e39218b8141d679ca51375d3b169ebe8990.tar.xz
anaconda-607f9e39218b8141d679ca51375d3b169ebe8990.zip
GPLv2+ boilerplates for scripts/ scripts and other such odds and ends.
Diffstat (limited to 'scripts/upd-kernel')
-rwxr-xr-xscripts/upd-kernel17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/upd-kernel b/scripts/upd-kernel
index 0face8828..af01656f8 100755
--- a/scripts/upd-kernel
+++ b/scripts/upd-kernel
@@ -1,7 +1,24 @@
#!/bin/sh
+#
# take a boot directory with kernel + initrd and create a new one
# with a new kernel + initrd
# Usage: ./upd-kernel <olddir> <newdir> <newkernelrpm>
+#
+# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
+#
+# 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; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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, see <http://www.gnu.org/licenses/>.
+#
OLDDIR=`readlink -f $1`
NEWDIR=$2