SOURCES: start_udev - don't symlink makedev twice
arekm
arekm at pld-linux.org
Sun Sep 11 12:16:55 CEST 2005
Author: arekm Date: Sun Sep 11 10:16:54 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't symlink makedev twice
---- Files affected:
SOURCES:
start_udev (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SOURCES/start_udev
diff -u SOURCES/start_udev:1.14 SOURCES/start_udev:1.15
--- SOURCES/start_udev:1.14 Sat Sep 10 22:47:51 2005
+++ SOURCES/start_udev Sun Sep 11 12:16:49 2005
@@ -47,7 +47,6 @@
[ -d $udev_root/pts ] || mkdir -m 0755 $udev_root/pts
[ -d $udev_root/shm ] || mkdir -m 0755 $udev_root/shm
- [ -a /dev/MAKEDEV ] || ln -s $MAKEDEV /dev/MAKEDEV
if [ -x $MAKEDEV ]; then
$MAKEDEV -x $(
@@ -59,7 +58,7 @@
for i in 0 1 2 3; do echo lp$i; echo parport$i;done;
echo net/tun ppp console null zero;
);
- [ -a /dev/MAKEDEV ] || ln -s $MAKEDEV /dev/MAKEDEV;
+ [ -a /dev/MAKEDEV ] || ln -sf "$MAKEDEV" /dev/MAKEDEV;
cp -a /etc/udev/devices/* /dev/ >/dev/null 2>&1 || :
fi
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/start_udev?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list