[Lunar-commits] <moonbase> devfsd: remove it from the moonbase and RIP.

Florin Braescu florin at lunar-linux.org
Mon Apr 6 12:40:31 CEST 2009


commit f79a90303d2b4011ebe000b28b5e0f1bace86b95
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Apr 6 13:40:31 2009 +0300

    devfsd: remove it from the moonbase and RIP.
---
 filesys/devfsd/BUILD         |   12 -------
 filesys/devfsd/DETAILS       |   16 ----------
 filesys/devfsd/POST_INSTALL  |    3 --
 filesys/devfsd/init.d/devfsd |   68 ------------------------------------------
 4 files changed, 0 insertions(+), 99 deletions(-)

diff --git a/filesys/devfsd/BUILD b/filesys/devfsd/BUILD
deleted file mode 100644
index f229360..0000000
--- a/filesys/devfsd/BUILD
+++ /dev/null
@@ -1,12 +0,0 @@
-(
-
-  patch_it $SOURCE2 1 &&
-
-  sedit "s/\/usr\/man/\/usr\/share\/man/" GNUmakefile &&
-
-  default_make &&
-
-  install -m700 $SCRIPT_DIRECTORY/init.d/devfsd /etc/init.d/ &&
-  install devfsd.conf /etc/devfsd.conf
-
-) > $C_FIFO 2>&1
diff --git a/filesys/devfsd/DETAILS b/filesys/devfsd/DETAILS
deleted file mode 100644
index 35f68b3..0000000
--- a/filesys/devfsd/DETAILS
+++ /dev/null
@@ -1,16 +0,0 @@
-          MODULE=devfsd
-         VERSION=1.3.25
-          SOURCE=$MODULE-v$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
-   SOURCE_URL[0]=ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/$MODULE/
-   SOURCE_URL[1]=ftp://ftp.ras.ucalgary.ca/pub/people/rgooch/linux/daemons/$MODULE/
-         SOURCE2=devfsd.conf-1.patch.bz2
-     SOURCE2_URL=$PATCH_URL
-     SOURCE2_VFY=sha1:90f5f4a23458fe67c81787c5f46ed78cd0a94817
-        WEB_SITE=http://www.atnf.csiro.au/people/rgooch/linux/
-         ENTERED=20020810
-         UPDATED=20020810
-           SHORT="A userspace tool to aid the linux device filesystem"
-cat << EOF
-Devfsd provides configurable management of device nodes using the Linux Device Filesystem.
-EOF
diff --git a/filesys/devfsd/POST_INSTALL b/filesys/devfsd/POST_INSTALL
deleted file mode 100644
index 5803ff0..0000000
--- a/filesys/devfsd/POST_INSTALL
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ ! -e "/etc/rc6.d/K98devfsd" ]; then
-   ln -s /etc/init.d/devfsd /etc/rc6.d/K98devfsd
-fi
diff --git a/filesys/devfsd/init.d/devfsd b/filesys/devfsd/init.d/devfsd
deleted file mode 100755
index 6f1ba74..0000000
--- a/filesys/devfsd/init.d/devfsd
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-
-PATH="$PATH:/bin"
-DEVFSD="/sbin/devfsd"
-
-# This is now started in mount script, because of problems
-
-start () {
-  exit 0
-}
-
-stop () {
-  echo -n "Stopping devfsd"
-  PID=$(pidof devfsd)
-
-  if [ -n "$PID" ] ; then
-    kill -s 9 $PID					&&
-    echo -e $RESULT_OK					||
-    echo -e $RESULT_FAIL
-  else
-    echo -e $RESULT_FAIL
-  fi
-}
-
-restart () {
-
-  MNT=$(cat /proc/mounts | grep -v "usbdevfs"  |  grep "devfs" | awk '{ print $2 } ;')
-
-  PID=$(pidof devfsd)
-
-  if [ -n "$PID" ] ; then
-    echo -n "Stopping devfsd"
-    kill -s 3 $PID					&&
-    echo -e $RESULT_OK					||		
-    echo -e $RESULT_FAIL
-  fi
-  
-  echo -n "Starting devfsd"
-  $DEVFSD  $MNT &> /dev/null				&&
-  echo -e $RESULT_OK					||
-  echo -e $RESULT_FAIL 
-}
-
-status () {
-
-  MNT=$(cat /proc/mounts | grep -v "usbdevfs"  |  grep "devfs" | awk '{ print $2 } ;')
-
-  if [ -n "$MNT" ] ; then
-    echo "devfs is mounted under: $MNT"
-  else
-    echo "devfs is not mounted"
-  fi
-
-  PID=$(pidof devfsd)
-	
-  if [ -n "$PID" ] ; then
-    echo "devfsd is running as pid: $PID"
-  else  
-    echo "devfsd is not running"
-  fi
-}
-
-case $1 in
-   start|stop|restart|status) ;;
-   *)     echo "Usage: $0 {stop|restart|status}"; exit 1  ;;
-esac
-
-. /lib/lsb/init-functions


More information about the Lunar-commits mailing list