Remove obselete chsmack command on device node
authorBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Wed, 3 Jul 2013 12:42:26 +0000 (14:42 +0200)
committerBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Wed, 3 Jul 2013 12:42:26 +0000 (14:42 +0200)
prepare_widgets.sh

index 6c80d51a0c3556bcde68977a1e33d23b8edf9ff2..8280c9a1657769777581c13bb4bbb79d7dff6bbf 100755 (executable)
@@ -210,13 +210,5 @@ GOPTION="-g 6514"
     mv /usr/share/applications_tmp/* /usr/share/applications/
     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 #
-    # 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/