This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-11-18 15:32:09 -08:00
|
|
|
#!/bin/bash
|
|
|
|
mkdir -p $BASH_SHELL_BASE/setup/etc/profile.d
|
|
|
|
mkdir -p $BASH_SHELL_BASE/setup/user
|
|
|
|
mkdir -p $BASH_SHELL_BASE/setup/root
|
2020-11-21 08:55:51 -08:00
|
|
|
cp -vi /etc/profile $BASH_SHELL_BASE/setup/etc
|
|
|
|
cp -vi /etc/bash.bashrc $BASH_SHELL_BASE/setup/etc
|
|
|
|
cp -vi /etc/profile.d/02-root.sh $BASH_SHELL_BASE/setup/etc/profile.d
|
|
|
|
cp -vi /etc/profile.d/03-startup.sh $BASH_SHELL_BASE/setup/etc/profile.d
|
|
|
|
cp -vi $HOME/.bash_profile $BASH_SHELL_BASE/setup/user
|
|
|
|
cp -vi $HOME/.profile $BASH_SHELL_BASE/setup/user
|
|
|
|
cp -vi $HOME/.bashrc $BASH_SHELL_BASE/setup/user
|
|
|
|
cp -vi $HOME/.bash_logout $BASH_SHELL_BASE/setup/user
|
|
|
|
cp -vi /root/.bash_profile $BASH_SHELL_BASE/setup/root
|
|
|
|
cp -vi /root/.profile $BASH_SHELL_BASE/setup/root
|
|
|
|
cp -vi /root/.bashrc $BASH_SHELL_BASE/setup/root
|
|
|
|
cp -vi /root/.bash_logout $BASH_SHELL_BASE/setup/root
|