Merge branch 'master' of /srv/git/myshellconfig

This commit is contained in:
Jakobus Schürz 2021-10-19 10:29:22 +02:00
commit 517f8fe246
3 changed files with 15 additions and 2 deletions

View file

@ -1003,4 +1003,17 @@ cporig () {
cp -b -i "${1}" "${1}.orig"
}
vgrename_full () {
altevolumegroup="$1"
neuevolumegroup="$2"
vgrename ${altevolumegroup} ${neuevolumegroup}
sed -i "s/${altevolumegroup}/${neuevolumegroup}/g" /etc/fstab
sed -i "s/${altevolumegroup}/${neuevolumegroup}/g" /boot/grub/grub.cfg
sed -i "s/${altevolumegroup}/${neuevolumegroup}/g" /boot/grub/menu.lst
sed -i "s/${altevolumegroup}/${neuevolumegroup}/g" /etc/initramfs-tools/conf.d/resume
update-initramfs -c -k all
}
#EOF

@ -1 +1 @@
Subproject commit 5fc78e4584eface9f2055ee7c31c2ae8c5cedc87
Subproject commit 4138333f5cfb6e21b0f8d63a43add4c70c25cdaf

@ -1 +1 @@
Subproject commit 2e66b3ad05d85f09d870f82671b8503cf8fa4297
Subproject commit 93f41ace7dc068cf89314bcea23bdf8da686407a