[Lunar-commits] <moonbase> modutils-wrappers: move it to zdeprecated.

Florin Braescu florin at lunar-linux.org
Wed Nov 2 19:38:23 CET 2011


commit 1c9e12b43f7407d46c41668d601d1714d65bf313
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Nov 2 19:38:23 2011 +0100

    modutils-wrappers: move it to zdeprecated.
---
 kernel/modutils-wrappers/BUILD                |   40 -------------------
 kernel/modutils-wrappers/DETAILS              |   14 -------
 kernel/modutils-wrappers/PRE_BUILD            |   11 -----
 kernel/modutils-wrappers/init.d/modutils      |   51 -------------------------
 zdeprecated/modutils-wrappers/BUILD           |   40 +++++++++++++++++++
 zdeprecated/modutils-wrappers/DETAILS         |   14 +++++++
 zdeprecated/modutils-wrappers/PRE_BUILD       |   11 +++++
 zdeprecated/modutils-wrappers/init.d/modutils |   51 +++++++++++++++++++++++++
 8 files changed, 116 insertions(+), 116 deletions(-)

diff --git a/kernel/modutils-wrappers/BUILD b/kernel/modutils-wrappers/BUILD
deleted file mode 100644
index 38fafde..0000000
--- a/kernel/modutils-wrappers/BUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-(
-   prepare_install &&
-
-   # shared scripts
-
-   message "Installing shared modutils/module-init-tools wrapper scripts" &&
-   
-   for  wrapper in  depmod insmod insmod.static \
-                    lsmod modinfo modprobe rmmod
-   do
-      install -m 755 shared /sbin/${wrapper} || false
-   done &&
-
-    
-   # only modutils binaries
-
-   message "Installing modutils only wrapper scripts" && 
-
-   for  wrapper in  genksyms insmod_ksymoops_clean         \
-                    kallsyms kallsyms.static kernelversion \
-                    ksyms ksyms.static lsmod.static        \
-                    modprobe.static rmmod.static 
-   do
-      install -m 755 modutils /sbin/${wrapper} || false
-   done  &&
-
-
-   # only module-init-tools binaries
-
-   message "Installing module-init-tools only wrapper scripts" &&   
-
-   for  wrapper in  generate-modprobe.conf
-   do
-      install -m 755 module-init-tools /sbin/${wrapper} || false
-   done &&
-    
-   install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d  &&
-   ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
-    
-) > $C_FIFO 2>&1
diff --git a/kernel/modutils-wrappers/DETAILS b/kernel/modutils-wrappers/DETAILS
deleted file mode 100644
index 7108b29..0000000
--- a/kernel/modutils-wrappers/DETAILS
+++ /dev/null
@@ -1,14 +0,0 @@
-          MODULE=modutils-wrappers
-         VERSION=0.6
-          SOURCE=${MODULE}-${VERSION}.tar.bz2
-      SOURCE_URL=http://www.lunar-linux.org/~nestu/
-      SOURCE_VFY=sha1:e1df01427bde5c2c1fd8bb8bd82bfe9bd87022c4
-         ENTERED=20050112
-         UPDATED=20060309
-          SHORT="A set of wrapper scripts for modutils and module-init-tools"
-cat << EOF
-A set of wrapper scripts for modutils and module-init-tools, so
-their install does not overlap. The scripts are installed instead of
-the real binaries. They call the appropiate binary version for each
-kernel, at their alternative placement under /lib.
-EOF
diff --git a/kernel/modutils-wrappers/PRE_BUILD b/kernel/modutils-wrappers/PRE_BUILD
deleted file mode 100644
index e2650ae..0000000
--- a/kernel/modutils-wrappers/PRE_BUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-for mod in modutils module-init-tools 
-do
-   if module_installed ${mod} ; then
-      if [ ! -e /lib/${mod}/sbin/modprobe ]; then
-         message "Relinning ${mod} so modutils-wrappers doesn't overlap"        
-         lin -c ${mod} || false
-      fi
-   fi
-done &&
-
-unpack ${SOURCE}
diff --git a/kernel/modutils-wrappers/init.d/modutils b/kernel/modutils-wrappers/init.d/modutils
deleted file mode 100755
index 9208480..0000000
--- a/kernel/modutils-wrappers/init.d/modutils
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-#
-# modutils    - load modules at startup
-# description: modutils, boot time module loading
-#
-
-start()
-{
-	# hide non-significant messages
-	dmesg -n5
-	if [ -x /sbin/depmod ]; then
-		echo -n "Updating Module Dependencies"
-		depmod -a &> /dev/null &&
-		echo -e $RESULT_OK           ||
-		echo -e $RESULT_FAIL
-	fi
-	
-	if [ -e /etc/modules ] && [ -x /sbin/modprobe ]; then
-		echo "Loading modules: "
-		sed 's/#.*$//g' /etc/modules | grep -v '^$' | while read MODULE ARGS; do
-			echo -n " * Loading module: $MODULE"
-			modprobe $MODULE $ARGS &> /dev/null &&
-			echo -e $RESULT_OK ||
-			echo -e $RESULT_FAIL
-		done
-	fi
-	# restore message level
-	dmesg -n7
-}
-
-
-stop()
-{
-	exit 0
-
-}
-
-status()
-{
-       lsmod
-}
-
-
-case $1 in
-	start|stop|status) : ;;
-	*)		        echo "Usage: $0 {start|stop|status}"; exit 1  ;;
-esac
-
-
-. /lib/lsb/init-functions
-
diff --git a/zdeprecated/modutils-wrappers/BUILD b/zdeprecated/modutils-wrappers/BUILD
new file mode 100644
index 0000000..38fafde
--- /dev/null
+++ b/zdeprecated/modutils-wrappers/BUILD
@@ -0,0 +1,40 @@
+(
+   prepare_install &&
+
+   # shared scripts
+
+   message "Installing shared modutils/module-init-tools wrapper scripts" &&
+   
+   for  wrapper in  depmod insmod insmod.static \
+                    lsmod modinfo modprobe rmmod
+   do
+      install -m 755 shared /sbin/${wrapper} || false
+   done &&
+
+    
+   # only modutils binaries
+
+   message "Installing modutils only wrapper scripts" && 
+
+   for  wrapper in  genksyms insmod_ksymoops_clean         \
+                    kallsyms kallsyms.static kernelversion \
+                    ksyms ksyms.static lsmod.static        \
+                    modprobe.static rmmod.static 
+   do
+      install -m 755 modutils /sbin/${wrapper} || false
+   done  &&
+
+
+   # only module-init-tools binaries
+
+   message "Installing module-init-tools only wrapper scripts" &&   
+
+   for  wrapper in  generate-modprobe.conf
+   do
+      install -m 755 module-init-tools /sbin/${wrapper} || false
+   done &&
+    
+   install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d  &&
+   ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
+    
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/modutils-wrappers/DETAILS b/zdeprecated/modutils-wrappers/DETAILS
new file mode 100644
index 0000000..7108b29
--- /dev/null
+++ b/zdeprecated/modutils-wrappers/DETAILS
@@ -0,0 +1,14 @@
+          MODULE=modutils-wrappers
+         VERSION=0.6
+          SOURCE=${MODULE}-${VERSION}.tar.bz2
+      SOURCE_URL=http://www.lunar-linux.org/~nestu/
+      SOURCE_VFY=sha1:e1df01427bde5c2c1fd8bb8bd82bfe9bd87022c4
+         ENTERED=20050112
+         UPDATED=20060309
+          SHORT="A set of wrapper scripts for modutils and module-init-tools"
+cat << EOF
+A set of wrapper scripts for modutils and module-init-tools, so
+their install does not overlap. The scripts are installed instead of
+the real binaries. They call the appropiate binary version for each
+kernel, at their alternative placement under /lib.
+EOF
diff --git a/zdeprecated/modutils-wrappers/PRE_BUILD b/zdeprecated/modutils-wrappers/PRE_BUILD
new file mode 100644
index 0000000..e2650ae
--- /dev/null
+++ b/zdeprecated/modutils-wrappers/PRE_BUILD
@@ -0,0 +1,11 @@
+for mod in modutils module-init-tools 
+do
+   if module_installed ${mod} ; then
+      if [ ! -e /lib/${mod}/sbin/modprobe ]; then
+         message "Relinning ${mod} so modutils-wrappers doesn't overlap"        
+         lin -c ${mod} || false
+      fi
+   fi
+done &&
+
+unpack ${SOURCE}
diff --git a/zdeprecated/modutils-wrappers/init.d/modutils b/zdeprecated/modutils-wrappers/init.d/modutils
new file mode 100755
index 0000000..9208480
--- /dev/null
+++ b/zdeprecated/modutils-wrappers/init.d/modutils
@@ -0,0 +1,51 @@
+#!/bin/bash
+#
+# modutils    - load modules at startup
+# description: modutils, boot time module loading
+#
+
+start()
+{
+	# hide non-significant messages
+	dmesg -n5
+	if [ -x /sbin/depmod ]; then
+		echo -n "Updating Module Dependencies"
+		depmod -a &> /dev/null &&
+		echo -e $RESULT_OK           ||
+		echo -e $RESULT_FAIL
+	fi
+	
+	if [ -e /etc/modules ] && [ -x /sbin/modprobe ]; then
+		echo "Loading modules: "
+		sed 's/#.*$//g' /etc/modules | grep -v '^$' | while read MODULE ARGS; do
+			echo -n " * Loading module: $MODULE"
+			modprobe $MODULE $ARGS &> /dev/null &&
+			echo -e $RESULT_OK ||
+			echo -e $RESULT_FAIL
+		done
+	fi
+	# restore message level
+	dmesg -n7
+}
+
+
+stop()
+{
+	exit 0
+
+}
+
+status()
+{
+       lsmod
+}
+
+
+case $1 in
+	start|stop|status) : ;;
+	*)		        echo "Usage: $0 {start|stop|status}"; exit 1  ;;
+esac
+
+
+. /lib/lsb/init-functions
+


More information about the Lunar-commits mailing list