3 Commits

Author SHA1 Message Date
SVNET
8807f95e9f Script pour création clé usb en mode persistence 2020-07-11 20:32:05 +02:00
SVNET
790d573aa5 seafile-gui 2020-07-11 20:31:22 +02:00
SVNET
805befc53d Nouveaux graphiques 2020-07-11 00:32:09 +02:00
6 changed files with 31 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

@@ -0,0 +1,9 @@
#!/bin/bash
wget -O - http://linux-clients.seafile.com/seafile.key | apt-key add -
echo 'deb [arch=amd64] http://linux-clients.seafile.com/seafile-deb/buster/ stable main' > /etc/apt/sources.list.d/seafile.list
apt update
apt install -y seafile-gui
exit 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 KiB

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 11 KiB

22
stick_build Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# stick_build /path/live-image.iso /dev/sdX
# Copie de l'image iso sur clé
dd if=$1 of=$2 bs=4M status=progress
sync
# Création de la partition dédiée à la persistence
printf 'n\np\n\n\n\nw' | fdisk $2
mkfs.ext4 -L persistence ${2}3
# Configuratio de la partition
mount ${2}3 /mnt
echo / union > /mnt/persistence.conf
umount /mnt
# Fin
echo "Terminé ! Vous pouvez booter sur la clé USB, la persistence sera auto-configurée lors du premier Boot !"
exit 0