projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcde92d
)
- jos compat/udevfs promjena
author
Dinko Korunic
<kreator@carnet.hr>
Mon, 25 May 2009 18:26:43 +0000
(20:26 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Mon, 25 May 2009 18:26:43 +0000
(20:26 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
462ad6f
..
8c0cfe0
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-147,9
+147,12
@@
if [ ! -z "$SHIELD" ]; then
echo -n " execshield1"
fi
-# remove obsolete devfs compat links
+# remove obsolete devfs/compat links and restore normal udev behaviour
rm -f /etc/udev/rules.d/devfs.rules /etc/udev/rules.d/compat.rules \
/etc/udev/rules.d/compat-full.rules
+if [ ! -e /etc/udev/rules.d/udev.rules ]; then
+ ln -s ../udev.rules /etc/udev/rules.d/udev.rules
+fi
udevcontrol reload_rules >/dev/null 2>&1 || true
echo -n " udev"