summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-16 04:26:21 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-16 04:26:21 +0000
commit8df5a082781c6c31118ce7d97e53e8c5984ad02f (patch)
tree164406e62e14febd8e7c1b7fc10244f3ee6f32ea /eclass/mount-boot.eclass
parentUpdate Copyright years (diff)
downloadgentoo-2-8df5a082781c6c31118ce7d97e53e8c5984ad02f.tar.gz
gentoo-2-8df5a082781c6c31118ce7d97e53e8c5984ad02f.tar.bz2
gentoo-2-8df5a082781c6c31118ce7d97e53e8c5984ad02f.zip
header fixes
Diffstat (limited to 'eclass/mount-boot.eclass')
-rw-r--r--eclass/mount-boot.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass
index c010e32f38bf..734508a84ff9 100644
--- a/eclass/mount-boot.eclass
+++ b/eclass/mount-boot.eclass
@@ -1,16 +1,16 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.7 2003/01/25 01:49:58 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.8 2003/02/16 04:26:21 vapier Exp $
+#
+# If the live system has a separate /boot partition configured, then this
+# function tries to ensure that it's mounted in rw mode, exiting with an
+# error if it cant. It does nothing if /boot isn't a separate partition.
ECLASS=mount-boot
INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS pkg_preinst
-# If the live system has a separate /boot partition configured, then this
-# function tries to ensure that it's mounted in rw mode, exiting with an
-# error if it cant. It does nothing if /boot isn't a separate partition.
-
mount-boot_mount_boot_partition(){
# note that /dev/BOOT is in the Gentoo default /etc/fstab file
local fstabstate="$(cat /etc/fstab | awk '!/^#|^[[:blank:]]+#|^\/dev\/BOOT/ {print $2}' | egrep "^/boot$" )"