diff options
Diffstat (limited to 'source/a/eudev/config/rc.d/rc.udev.new')
-rwxr-xr-x | source/a/eudev/config/rc.d/rc.udev.new | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/a/eudev/config/rc.d/rc.udev.new b/source/a/eudev/config/rc.d/rc.udev.new index 1b4e3fe9f..1db93c726 100755 --- a/source/a/eudev/config/rc.d/rc.udev.new +++ b/source/a/eudev/config/rc.d/rc.udev.new @@ -95,10 +95,10 @@ case "$1" in if ! /sbin/pidof udevd 1>/dev/null 2>/dev/null; then # start udevd echo "Creating static nodes in /dev." kmod static-nodes -f tmpfiles --output /run/static-nodes - grep "^d\ " /run/static-nodes | while read line ; do + grep "^d " /run/static-nodes | while read line ; do mkdir -p -m $(echo $line | cut -f 3 -d ' ') $(echo $line | cut -f 2 -d ' ') done - grep -v "^d\ " /run/static-nodes | while read line ; do + grep -v "^d " /run/static-nodes | while read line ; do mknod -m $(echo $line | cut -f 3 -d ' ') \ $(echo $line | cut -f 2 -d ' ') \ $(echo $line | cut -b1 ) \ |