[Lunar-commits] r15215 - in moonbase/trunk: security/Linux-PAM/plugin.d utils/grub/plugin.d
Auke Kok
sofar at lunar-linux.org
Thu Jun 2 07:57:07 UTC 2005
Author: sofar
Date: 2005-06-02 07:57:06 +0000 (Thu, 02 Jun 2005)
New Revision: 15215
Modified:
moonbase/trunk/security/Linux-PAM/plugin.d/Linux-PAM.plugin
moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
Log:
Removing these module-local functions and made them global.
Modified: moonbase/trunk/security/Linux-PAM/plugin.d/Linux-PAM.plugin
===================================================================
--- moonbase/trunk/security/Linux-PAM/plugin.d/Linux-PAM.plugin 2005-06-02 07:50:27 UTC (rev 15214)
+++ moonbase/trunk/security/Linux-PAM/plugin.d/Linux-PAM.plugin 2005-06-02 07:57:06 UTC (rev 15215)
@@ -10,20 +10,6 @@
#############################################################
-find_pam_aware() {
- local MODULE SECTION
- debug_msg "find_pam_aware ($@)"
-
- for MODULE in $(list_installed); do
- SECTION=$(find_section $MODULE)
- if [ -d "$MOONBASE/$SECTION/$MODULE/pam.d" ] &&
- [ "$MODULE" != "Linux-PAM" ]; then
- echo $MODULE
- fi
- done < $MODULE_STATUS
-}
-
-
plugin_pam_post_build()
{
local FILE
Modified: moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
===================================================================
--- moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2005-06-02 07:50:27 UTC (rev 15214)
+++ moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2005-06-02 07:57:06 UTC (rev 15215)
@@ -12,20 +12,6 @@
#############################################################
-unmap_device()
-{
- local DEVICE
- for DEVICE in $(ls -1d /dev/[hs]d* 2> /dev/null); do
- if [ "$(readlink -f $DEVICE)" == "$(readlink -f $1)" ]; then
- echo $DEVICE
- return 0
- fi
- done
- echo $1
- return 0
-}
-
-
map_devices_to_grub()
{
local LINE DISC DEVICE TARGET REALTARGET
More information about the Lunar-commits
mailing list