From: Dinko Korunic Date: Mon, 25 May 2009 18:26:43 +0000 (+0200) Subject: - jos compat/udevfs promjena X-Git-Tag: debian/2.6.26-4~18 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=a46cd24ad0cb4c074d72d2abb16f3aa6f93343a1;p=kernel-cn.git - jos compat/udevfs promjena --- diff --git a/debian/postinst b/debian/postinst index 462ad6f..8c0cfe0 100755 --- 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"