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
commitd37075801472911f637eeffce8ccb70ca5ec668c (patch)
treefb314338f6f301dcd1f15682c76bac3384fe6b2b /eclass/mount-boot.eclass
parentUpdate Copyright years (diff)
downloadhistorical-d37075801472911f637eeffce8ccb70ca5ec668c.tar.gz
historical-d37075801472911f637eeffce8ccb70ca5ec668c.tar.bz2
historical-d37075801472911f637eeffce8ccb70ca5ec668c.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$" )"