...
 
Commits (8)
......@@ -6,5 +6,5 @@ Mirror-Bootstrap: http://ftp.debian.org/debian/
[FIXME]
Configuration-Version: 1:20170213
Name: live-image
Name: studiobox4
Type: iso-hybrid
......@@ -8,7 +8,7 @@ GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="initrd=/install/initrd.gz"
GRUB_BACKGROUND="/usr/share/images/grub/grubsb3.png"
GRUB_BACKGROUND="/usr/share/images/grub/grubsb4.png"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
......
......@@ -16,7 +16,7 @@
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
#
[greeter]
background=/usr/share/images/desktop-base/login-background-sb3.png
background=/usr/share/images/desktop-base/login-background-sb4.png
theme-name=Adwaita
#icon-theme-name=
#font-name=
......
......@@ -2,12 +2,12 @@
PERSISTENCE=$(ls /lib/live/mount/persistence/sd* | grep persistence.conf)
if [ -e $PERSISTENCE ] && [ -e "$HOME/.config/openbox/menupersistence.xml" ]; then
if [ -e "$PERSISTENCE" ] && [ -e "$HOME/.config/openbox/menupersistence.xml" ]; then
mv $HOME/.config/openbox/menupersistence.xml $HOME/.config/openbox/menu.xml
mv $HOME/.config/openbox/menupersistence2.xml $HOME/.config/openbox/menu2.xml
sed -i '/menupersistence/d' .config/openbox/autostart.sh
openbox --restart
elif [ ! -e /persistence.conf ] && [ ! -e "$HOME/.config/openbox/menupersistence.xml" ]; then
elif [ ! -e "$PERSISTENCE" ] && [ ! -e "$HOME/.config/openbox/menupersistence.xml" ]; then
zenity --info --title="Bienvenue sur Studiobox3" --text="Bienvenue sur le système d'exploitation Studiobox3.
Pour mémoire:
- votre nom d'utilisateur est 'studiobox'
......
#!/bin/bash
# Script de création de la persistance de la clé studiobox
VERIFPERSIST=$(ls / | grep persistence)
VERIFPERSIST=$(ls /lib/live/mount/persistence/sd* | grep persistence.conf)
if [ "$VERIFPERSIST" = "persistence.conf" ]; then
if [ -e "$VERIFPERSIST" ]; then
echo "La persistance existe déjà"
echo "Vous n'avez pas besoin de lancer ce script"
sleep 5
......@@ -21,7 +21,7 @@ fi
echo "*** Création de la partiton persistante"
START=`LC_ALL=C sudo parted $CLE print free | grep Free | grep [MG]B | gawk '{print $1}'`
END=`LC_ALL=C sudo parted $CLE print free | grep Free | grep [MG]B | gawk '{print $2}'`
sudo parted -a optimal $CLE mkpart primary ext2 $START $END
sudo parted -a optimal -s $CLE mkpart primary ext2 $START $END
sudo mkfs.ext2 $CLE$PART2
echo "*** définition du label « persistence »"
sudo tune2fs -L persistence $CLE$PART2
......