pull/63/head
TomasM 2018-03-22 09:37:10 -04:00
parent 68c10a0bfa
commit 8c7fa04537
3 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@ apt-get dist-upgrade --yes
# if kernel was upgraded, you may need to reboot # if kernel was upgraded, you may need to reboot
apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools \ apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools \
alsa-utils man less xz-utils ca-certificates openssl acpid acpi-support-base powermgmt-base bzip2 gpart \ alsa-utils man less xz-utils ca-certificates openssl acpid acpi-support-base powermgmt-base bzip2 gpart \
hdparm sdparm mdadm smartmontools dosfstools lsof htop gddrescue rsync netcat ssh gpm wireless-tools ntfs-3g rfkill hdparm sdparm mdadm smartmontools dosfstools lsof htop gddrescue rsync netcat ssh gpm wireless-tools ntfs-3g rfkill file
ln -sf bash /bin/sh ln -sf bash /bin/sh

View File

@ -31,6 +31,8 @@ dpkg -x x11-xserver-utils*.deb /tmp/x11utils
cd /tmp/x11utils cd /tmp/x11utils
cp -aR * / cp -aR * /
update-alternatives --set x-terminal-emulator /usr/bin/xterm
. /tmp/cleanup . /tmp/cleanup
savechanges /02-xorg.sb savechanges /02-xorg.sb

View File

@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
xhost + >/dev/null 2>/dev/null xhost + >/dev/null 2>/dev/null
if [ "$EUID" -ne 0 ]; then
chromium-launcher "$@"
exit 0
fi
su -c "chromium-launcher "$@"" guest su -c "chromium-launcher "$@"" guest