summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@eurogiciel.fr>2013-06-26 18:21:10 +0200
committerBaptiste DURAND <baptiste.durand@eurogiciel.fr>2013-06-26 18:21:10 +0200
commitc5e3456b786e5d23573bb53da622192405acd833 (patch)
tree197f2259c1b3be739271b61456a5a37a42c6759a
parent4728d38df68493454ef4908d5a8e7ce7dfa1e765 (diff)
downloadwrt-widgets-c5e3456b786e5d23573bb53da622192405acd833.tar.gz
wrt-widgets-c5e3456b786e5d23573bb53da622192405acd833.tar.bz2
wrt-widgets-c5e3456b786e5d23573bb53da622192405acd833.zip
Remove udev rules provided by libdevice-node
to avoid smack rules on device node applied at each boot.
-rwxr-xr-xprepare_widgets.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/prepare_widgets.sh b/prepare_widgets.sh
index 7ece6e6..6c80d51 100755
--- a/prepare_widgets.sh
+++ b/prepare_widgets.sh
@@ -211,8 +211,12 @@ GOPTION="-g 6514"
for d in dbspace home usr; do find /opt/$d -exec chsmack -a '*' {} \; ; done;
find /usr/lib64/ -exec chsmack -a _ {} \;
- # WA to fix sound issue on gnome after an intall of WRT
+ # WA to fix sound issue on gnome after an intall of WRT #
+ # remove smack rules applied by the rules provided by libdevice-node
chsmack -a _ /dev/snd/*
-
+ # remove udev rules provided by libdevice-node to avoid smack rule on device node
+ rm /usr/lib/udev/rules.d/95-devices.rules
+ rm /usr/lib/udev/rules.d/51-devices-priv.rules
+ #
chmod -R a+rw /opt/dbspace/