summaryrefslogtreecommitdiff
path: root/configs/mate/root-image/root/.scriptsInstallation
diff options
context:
space:
mode:
Diffstat (limited to 'configs/mate/root-image/root/.scriptsInstallation')
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/en/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/es/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh3
4 files changed, 12 insertions, 0 deletions
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh
index 8f0b06a..2fbd382 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh
@@ -218,6 +218,9 @@ while [ option != 7 ]; do
cp -a /etc/skel/ /mnt/etc/
cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+ #Uncomment to allow members of group wheel to execute any command
+ sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers
+
#Puts the XKBMAP, start X11 automatically and Mate desktop
echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
index 51079f8..274f087 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh
@@ -220,6 +220,9 @@ while [ option != 7 ]; do
cp -a /etc/skel/ /mnt/etc/
cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+ #Uncomment to allow members of group wheel to execute any command
+ sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers
+
#Puts the XKBMAP, start X11 automatically and Mate desktop
echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh
index f199997..675ac98 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh
@@ -220,6 +220,9 @@ while [ option != 7 ]; do
cp -a /etc/skel/ /mnt/etc/
cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+ #Uncomment to allow members of group wheel to execute any command
+ sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers
+
#Puts the XKBMAP, start X11 automatically and Mate desktop
echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
index 9ca05ad..cc3da1a 100755
--- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
+++ b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh
@@ -220,6 +220,9 @@ while [ option != 7 ]; do
cp -a /etc/skel/ /mnt/etc/
cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+ #Uncomment to allow members of group wheel to execute any command
+ sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers
+
#Puts the XKBMAP, start X11 automatically and Mate desktop
echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
echo "exec mate-session" >> /mnt/etc/skel/.xinitrc