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-createbackupcontainer"
|
||||
vbin "${FILESDIR}/bin/pinentry-chooser"
|
||||
vbin "${FILESDIR}/bin/change_luks_pw"
|
||||
vbin "${FILESDIR}/bin/helpme"
|
||||
|
||||
vmkdir etc/sudoers.d
|
||||
vinstall "${FILESDIR}/sudoers/10-common" 700 etc/sudoers.d
|
||||
|
|
|
@ -13,6 +13,7 @@ packages() {
|
|||
policykit=polkit-gnome
|
||||
sshaskpass=gnome-ssh-askpass
|
||||
partmanager=partitionmanager
|
||||
editor=gedit
|
||||
dm=gdm
|
||||
de=gnome
|
||||
|
||||
|
@ -29,4 +30,4 @@ config() {
|
|||
if ! [ "$LANGUAGE_" == "en" ]; then
|
||||
echo "export LANG=${L1}.UTF-8" > /etc/sv/gdm/conf
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ packages() {
|
|||
policykit=polkit-kde-agent
|
||||
sshaskpass=ksshaskpass
|
||||
partmanager=partitionmanager
|
||||
editor=kate5
|
||||
dm=sddm
|
||||
de=kde5
|
||||
|
||||
|
|
|
@ -6,11 +6,7 @@ alias xq="xbps-query"
|
|||
alias backup="sudo void-backup"
|
||||
alias snapshot="sudo void-snapshot"
|
||||
|
||||
echo "xu = sudo void-update updaten"
|
||||
echo "xi = sudo xbps-install -S installieren"
|
||||
echo "xr = sudo xbps-remove -R deinstallieren"
|
||||
echo "xs = xbps-query -Rs suchen"
|
||||
echo ""
|
||||
echo "backup backup machen"
|
||||
echo "snapshot snapshots einstellen"
|
||||
|
||||
echo "Tippe 'helpme' für weitere Hilfe!"
|
||||
echo "Have a nice Day!"
|
||||
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