progress
This commit is contained in:
parent
cc2d2b7e68
commit
a7068bba7a
2
etc/base
2
etc/base
|
@ -107,6 +107,8 @@ vbin "${FILESDIR}/bin/void-backup"
|
||||||
vbin "${FILESDIR}/bin/void-snapshot"
|
vbin "${FILESDIR}/bin/void-snapshot"
|
||||||
vbin "${FILESDIR}/bin/void-createbackupcontainer"
|
vbin "${FILESDIR}/bin/void-createbackupcontainer"
|
||||||
vbin "${FILESDIR}/bin/pinentry-chooser"
|
vbin "${FILESDIR}/bin/pinentry-chooser"
|
||||||
|
vbin "${FILESDIR}/bin/change_luks_pw"
|
||||||
|
vbin "${FILESDIR}/bin/helpme"
|
||||||
|
|
||||||
vmkdir etc/sudoers.d
|
vmkdir etc/sudoers.d
|
||||||
vinstall "${FILESDIR}/sudoers/10-common" 700 etc/sudoers.d
|
vinstall "${FILESDIR}/sudoers/10-common" 700 etc/sudoers.d
|
||||||
|
|
|
@ -13,6 +13,7 @@ packages() {
|
||||||
policykit=polkit-gnome
|
policykit=polkit-gnome
|
||||||
sshaskpass=gnome-ssh-askpass
|
sshaskpass=gnome-ssh-askpass
|
||||||
partmanager=partitionmanager
|
partmanager=partitionmanager
|
||||||
|
editor=gedit
|
||||||
dm=gdm
|
dm=gdm
|
||||||
de=gnome
|
de=gnome
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ packages() {
|
||||||
policykit=polkit-kde-agent
|
policykit=polkit-kde-agent
|
||||||
sshaskpass=ksshaskpass
|
sshaskpass=ksshaskpass
|
||||||
partmanager=partitionmanager
|
partmanager=partitionmanager
|
||||||
|
editor=kate5
|
||||||
dm=sddm
|
dm=sddm
|
||||||
de=kde5
|
de=kde5
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,7 @@ alias xq="xbps-query"
|
||||||
alias backup="sudo void-backup"
|
alias backup="sudo void-backup"
|
||||||
alias snapshot="sudo void-snapshot"
|
alias snapshot="sudo void-snapshot"
|
||||||
|
|
||||||
echo "xu = sudo void-update updaten"
|
|
||||||
echo "xi = sudo xbps-install -S installieren"
|
echo "Tippe 'helpme' für weitere Hilfe!"
|
||||||
echo "xr = sudo xbps-remove -R deinstallieren"
|
echo "Have a nice Day!"
|
||||||
echo "xs = xbps-query -Rs suchen"
|
|
||||||
echo ""
|
|
||||||
echo "backup backup machen"
|
|
||||||
echo "snapshot snapshots einstellen"
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
8
files/bin/change_luks_pw
Normal file
8
files/bin/change_luks_pw
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if ! [ "$(id -u)" -eq 0 ]; then
|
||||||
|
echo "Not root. Use: sudo $(basename $0)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cryptsetup luksChangeKey $(cryptsetup status $(lvdisplay -m $(findmnt -vn -o SOURCE -T /)|grep "Physical volume"|awk '{print $3}')|grep device|awk '{print $2}')
|
15
files/bin/helpme
Normal file
15
files/bin/helpme
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
clear
|
||||||
|
cat << EOF
|
||||||
|
xu updaten
|
||||||
|
xi "Paketname" installieren
|
||||||
|
xr "Paketname" deinstallieren
|
||||||
|
xs "Suchbegriff" suchen
|
||||||
|
|
||||||
|
|
||||||
|
passwd Passwort des Nutzers $USER ändern
|
||||||
|
change_luks_pw Passwort der Systemfestplatte ändern
|
||||||
|
backup Backup machen oder einrichten
|
||||||
|
snapshot Snapshots einstellen
|
||||||
|
|
||||||
|
EOF
|
Loading…
Reference in New Issue
Block a user