it in a function file. We will call it functions.sh, the sh meaning shell scripts.
$ pg functions.sh
#!/bin/sh
# functions.sh
# main script functions
is_it_a_directory()
{
# is_it_a_directory
# to call
lose the lid on your EEE it runs /etc/acpi/lidbtn.sh
The script to shut down the EEE safely and quickly is called /sbin/fastshutdown.sh
So, if you comment out the line in /etc/acpi/lidbtn.sh that suspends on lid close and add a new line tha... the console type
sudo kwrite /etc/acpi/lidbtn.sh
You should see
<code>
#!/bin/sh
LID_STATE=`cat /
echo -e '#!/bin/bash\nsudo /sbin/fastshutdown.sh' > shutdown_dialog
chmod +x shutdown_dialog
... er button runs a script called /etc/acpi/powerbtn.sh//
This script then calls the shutdown_dialog fil... nged it to run a script called /sbin/fastshutdown.sh//
This script kills the processes and shuts down ... Edit the 2nd line to:
sudo /sbin/fastshutdown.sh --ask
* Save (Ctrl+s) and Exit (Ctrl+q)
The g
ommentieren. Sollte dann so aussehen:
#!/bin/sh
mount -t proc proc /proc
if [ -n "$XANDROSBOOTDEBUG" ]; then
/bin/busybox sh
set -x
fi
ROOT=`cat /proc/cm... Starting debugging shell....
/bin/busybox sh
fi
#if [ -n "$XANDROSSCAN" ]; then
... # exec switch_root /mnt-system /sbin/scanuser.sh
#fi
#
#if [ -n "$XANDROSRESTORE" ]; t
external monitor, open a file named dual_desktop.sh and put the following in it:
<code>
#!/bin/bash
x... a chmod +x on it:
<code>$ chmod +x dual_desktop.sh</code>
Press Fn-F5 till both your Acer Aspire On... ive. Then run the script:
<code>
$ ./dual_desktop.sh</code>
Now when you run it, you should be able t... this script. Usage is like so:
## ./dual_desktop.sh <resolution> <position of the AA1>
##
## Example:
ese exact commands into the terminal:
<code>
sudo sh -c 'echo "# VirtualBox repository for Ubuntu Guts... rrect this, you'll need to edit the mountdevsubfs.sh file:
<code>
sudo gedit /etc/init.d/mountdevsubfs.sh
You'll see a block of code that looks like this:
... ode=664 0 0
</code>
Now lets edit the mountkernfs.sh file with the gid in bold:
<code>
sudo gedit /etc
0 libfglrx_gamma.so.1
$ cd ../../../../../
$ sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy
</code>
If you get th... it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the w... tarts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdow
r die Konsole installiert [3] werden:
<code>sudo sh /Verzeichnis_der_Datei/truecrypt-<version>-setup-... ential
cd /usr/src/truecrypt-*/Linux
sudo ./build.sh
sudo ./install.sh</code>
Nach Aufruf des Skripts '''build.sh''' erscheint zunächst die Abfrage, ob die Kernelquellen
i dem die PIN "0000" ist:
<code>
$ echo '#!/bin/sh' > /tmp/bluepin.sh $ echo 'echo "PIN:0000"' >> /tmp/bluepin.sh $ chmod +x /tmp/bluepin.sh
</code>
Und in der Konfigurationsdatei /etc/bluetooth/hcid.conf den Eintrag "pin_helper" entsprechend auf /tmp/bluepin.sh geändert.
Nun kann man eine Verbindung mit dem H