updated root user section
This commit is contained in:
parent
2a8b6a1088
commit
8cd0429ce8
@ -32,14 +32,14 @@ echo -e "in this archive.${norm}\n"
|
|||||||
|
|
||||||
### Copy files to proper locations
|
### Copy files to proper locations
|
||||||
echo -e "${mag}---------------------${norm}"
|
echo -e "${mag}---------------------${norm}"
|
||||||
|
echo "(please note any errors below)"
|
||||||
|
|
||||||
## Copy root's .bashrc
|
## Copy clean .bashrc for root user
|
||||||
echo -e "\ncopying .bashrc to /root..."
|
echo -e "\ncopying ${yellow}.bashrc${norm} to ${yellow}/root${norm}"
|
||||||
# backup
|
# backup
|
||||||
cp -f /root/.bashrc /root/.bashrc.original
|
cp -f /root/.bashrc /root/.bashrc.original
|
||||||
# copy new
|
# copy new
|
||||||
cp -f config/root/.bashrc /root/.bashrc
|
cp -f config/root/.bashrc /root/.bashrc
|
||||||
echo "...done"
|
|
||||||
|
|
||||||
## Copy profile template files and skel files
|
## Copy profile template files and skel files
|
||||||
echo -e "\ncopying default bash profile files..."
|
echo -e "\ncopying default bash profile files..."
|
||||||
|
Loading…
Reference in New Issue
Block a user