Mounthome
Zur Navigation springen
Zur Suche springen
In /usr/local/bin/mounthome:
#!/bin/bash if [ -e /home/info.txt ] then echo "Verschluesselte Partition ist bereits eingebunden." sleep 1 else /sbin/cryptsetup luksOpen /media/daten/images/eeehome encimg /bin/mount /dev/mapper/encimg /home /bin/df -h | grep "home" echo "Eingabetaste druecken..." read fi
chmod +x /usr/local/bin/mounthome
In /etc/lightdm/lightdm.conf.d/10-xubuntu.conf:
greeter-setup-script=xterm -u8 -e /usr/local/bin/mounthome