diff options
Diffstat (limited to 'doc/examples')
-rwxr-xr-x | doc/examples/beryl-hook.sh | 60 | ||||
-rwxr-xr-x | doc/examples/java-hook.sh | 15 | ||||
-rw-r--r-- | doc/examples/live.sources.list | 9 |
3 files changed, 0 insertions, 84 deletions
diff --git a/doc/examples/beryl-hook.sh b/doc/examples/beryl-hook.sh deleted file mode 100755 index ef076e4..0000000 --- a/doc/examples/beryl-hook.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -# This is a hook for live-helper(7) to install beryl and enable aixgl. -# It was originally written by Inigo Tejedor Arrondo <inigo@navarrux.org>. -# -# To enable it, copy this hook into your config/chroot_localhooks directory. -# At boot prompt, type 'linux aixgl', press enter and have fun. - -# Update sources.list -cat >> /etc/apt/sources.list << EOF -# beryl-project -deb http://debian.beryl-project.org/ etch main -EOF - -if grep deb-src /etc/apt/sources.list -then - echo "deb-src http://debian.beryl-project.org/ etch main" >> /etc/apt/sources.list -fi - -# Import archive signing key -wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add - - -# Update indices -apt-get update - -# Install packages -PACKAGES="beryl beryl-core beryl-manager beryl-plugins beryl-plugins-unsupported beryl-settings beryl-settings-bindings beryl-settings-simple" - -if [ -f /usr/bin/gnome-session ] -then - PACKAGES="${PACKAGES} emerald emerald-themes heliodor" -fi - -if [ -f /usr/bin/kstart ] -then - PACKAGES="${PACKAGES} aquamarine" -fi - -apt-get install --yes ${PACKAGES} - -# Add init script -cat > /etc/init.d/aixgl << EOF -#!/bin/sh - -if cat /proc/cmdline | grep aixgl > /dev/null -then - echo "Configuring xorg for aixgl..." - - echo "" >> /etc/X11/xorg.conf - echo "# Added by beryl-hook.sh" >> /etc/X11/xorg.conf - echo "Section \"Extensions\"" >> /etc/X11/xorg.conf - echo " Option \"Composite\" \"Enable\"" >> /etc/X11/xorg.conf - echo "EndSection" >> /etc/X11/xorg.conf - - sed -i -e "s/Section \"Device\""/"Section \"Device\"\n\t Option \"XAANoOffscreenPixmaps\" \"true\"\n\t Option \"AddARGBGLXVisuals\" \"on\"\n\t Option \"AllowGLXWithComposite\" \"true\"/" -e "s/Section \"Module\""/"Section \"Module\"\n\t Load \"i2c\"\n\t Load \"int10\"\n\t Load \"xtrap\"\n\t Load \"vbe\"/" /etc/X11/xorg.conf -fi -EOF - -chmod 0755 /etc/init.d/aixgl -update-rc.d aixgl defaults diff --git a/doc/examples/java-hook.sh b/doc/examples/java-hook.sh deleted file mode 100755 index 77c931b..0000000 --- a/doc/examples/java-hook.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# This is a hook for live-helper(7) to install sun-java. -# -# To enable it, copy this hook into your config/chroot_localhooks directory and -# don't forget to enable non-free in LIVE_SECTIONS. -# -# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not -# ask any questions while installing packages. Suns redistribution terms for -# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for -# this apt-get call only. - -DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \ - sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre \ - sun-java6-plugin sun-java6-source diff --git a/doc/examples/live.sources.list b/doc/examples/live.sources.list deleted file mode 100644 index 10fba02..0000000 --- a/doc/examples/live.sources.list +++ /dev/null @@ -1,9 +0,0 @@ -# This is a sources.list for live-helper(7) to use packages from the -# Debian Live Etch backports repository. -# -# To enable it, copy this file to your config/chroot_sources directory, once -# as e.g. live.build and once as live.image. - -# Debian Live backports for Etch -deb http://live.debian.net/debian/ etch main -deb-src http://live.debian.net/debian/ etch main |