projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding debian version 3.0~a1-1.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
30accessibility
diff --git
a/scripts/live-bottom/30accessibility
b/scripts/live-bottom/30accessibility
index
4ed1c6d
..
ef83c72
100755
(executable)
--- a/
scripts/live-bottom/30accessibility
+++ b/
scripts/live-bottom/30accessibility
@@
-66,17
+66,6
@@
remove_applet ()
chroot /root update-gconf-defaults
}
chroot /root update-gconf-defaults
}
-add_sudoers_file ()
-{
-
-cat <<EOF > /root/etc/sudoers.d/a11y-sudo
-# TO allow accessibility in GTK to work with sudo.
-Defaults env_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"
-EOF
-
- chmod 0440 /root/etc/sudoers.d/a11y-sudo
-}
-
case ${ACCESS} in
access=v1)
# Lesser Visual Impairment
case ${ACCESS} in
access=v1)
# Lesser Visual Impairment
@@
-101,7
+90,7
@@
case ${ACCESS} in
gct -s -t string /desktop/gnome/applications/at/visual/exec orca
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
gct -s -t string /desktop/gnome/applications/at/visual/exec orca
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
- add_sudoers_file
+ sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
if [ -x /root/usr/bin/orca ]
then
if [ -x /root/usr/bin/orca ]
then
@@
-123,7
+112,7
@@
case ${ACCESS} in
gct -s -t string /apps/empathy/conversation/theme classic
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
gct -s -t string /apps/empathy/conversation/theme classic
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
- add_sudoers_file
+ sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
remove_applet fast_user_switch
if [ -x /root/usr/bin/orca ]
remove_applet fast_user_switch
if [ -x /root/usr/bin/orca ]
@@
-141,7
+130,7
@@
case ${ACCESS} in
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
gct -s -t string /apps/empathy/conversation/theme classic
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
gct -s -t string /apps/empathy/conversation/theme classic
- add_sudoers_file
+ sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
if [ -x /root/usr/bin/orca ]
then
if [ -x /root/usr/bin/orca ]
then