summaryrefslogtreecommitdiffstats
path: root/smgl
diff options
context:
space:
mode:
authorTreeve Jelbert2019-01-04 16:01:51 +0100
committerTreeve Jelbert2019-01-09 13:58:30 +0100
commit6ae87e4dbd69f02d5ad83f13a387b237b5736274 (patch)
tree3cc5557bac2f3f7b3abc8744961426586894ccc7 /smgl
parenta77f1d47e53061d1f349405d6d1c6e909513b740 (diff)
init.d - remove unneeded missing.h processing
Diffstat (limited to 'smgl')
-rw-r--r--smgl/init.d/HISTORY1
-rwxr-xr-xsmgl/init.d/init.d/devices38
2 files changed, 1 insertions, 38 deletions
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 0b9f602891..761e5cf4aa 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -2,6 +2,7 @@
* DETAILS: version 2.2.18
* BUILD CONFIGURE DEPENDS FINAL init.d/devices init.d/devices.conf:
remove devfs stuff
+ * init.d/devices: remove missing.h stuff
2018-12-15 Treeve Jelbert <treeve@sourcemage.org>
* init.d/devices: fix for modern eudev
diff --git a/smgl/init.d/init.d/devices b/smgl/init.d/init.d/devices
index ceb6a9931d..291091a9d5 100755
--- a/smgl/init.d/init.d/devices
+++ b/smgl/init.d/init.d/devices
@@ -50,25 +50,6 @@ start_udev()
/sbin/udevstart
fi
- if [ -f /etc/udev/udev.missing ]; then
- echo "Processing /etc/udev/udev.missing"
- cd /dev
- while read line; do
- if [ "${line:0:1}" == "#" ]; then continue; fi
- for ((i=0; i<7; i++)); do
- val[$i]=${line%%:*}
- line=${line#*:}
- done
- if [ "${val[1]}" == "d" ]; then
- mkdir ${val[0]}
- else
- mknod ${val[0]} ${val[1]} ${val[2]} ${val[3]}
- fi
- chmod ${val[4]} ${val[0]}
- chown ${val[5]}:${val[6]} ${val[0]}
- done < /etc/udev/udev.missing
- cd /
- fi
echo "Telling init to reopen file descriptors"
kill -USR1 1
) }
@@ -92,25 +73,6 @@ start_static_udev()
/sbin/udevstart
fi
- if [ -f /etc/udev/udev.missing ]; then
- echo "Processing /etc/udev/udev.missing"
- cd /dev
- while read line; do
- if [ "${line:0:1}" == "#" ]; then continue; fi
- for ((i=0; i<7; i++)); do
- val[$i]=${line%%:*}
- line=${line#*:}
- done
- if [ "${val[1]}" == "d" ]; then
- mkdir -p ${val[0]}
- else
- mknod ${val[0]} ${val[1]} ${val[2]} ${val[3]}
- fi
- chmod ${val[4]} ${val[0]}
- chown ${val[5]}:${val[6]} ${val[0]}
- done < /etc/udev/udev.missing
- cd /
- fi
) }
start_static()