Home management
This commit is contained in:
@@ -28,3 +28,6 @@ sudo -u hacdc gpg --list-keys
|
||||
cp ${HDOS_ROOT}/dotfiles/zshrc /root/.zshrc
|
||||
cp ${HDOS_ROOT}/dotfiles/zshrc /home/hacdc/.zshrc
|
||||
chown hacdc:hacdc /home/hacdc/.zshrc
|
||||
|
||||
cp ${HDOS_ROOT}/dotfiles/slick-greeter.conf /etc/lightdm/
|
||||
cp ${HDOS_ROOT}/dotfiles/htown.png /etc/lightdm/
|
||||
|
3
scripts/restore-home
Normal file
3
scripts/restore-home
Normal file
@@ -0,0 +1,3 @@
|
||||
tar -xf /opt/home.tar -C /
|
||||
chown -R hacdc:hacdc /home/hacdc
|
||||
chown -R hacdc:hacdc /home/hacdc/.*
|
1
scripts/save-home
Normal file
1
scripts/save-home
Normal file
@@ -0,0 +1 @@
|
||||
tar -cvpzf /opt/home.tgz /home/hacdc
|
Reference in New Issue
Block a user