Jump to content

Cannot move config files with /boot/config/go


Go to solution Solved by semaj4712,

Recommended Posts

I was able to succesffully add a few lines to my bash_profile by inserting the following code in the /boot/config/go file.

 

# Update Bash Profile
bash_profile () {
        if [ -f /root/.bash_profile ]; then
                cat /boot/config/bashprofile >> /root/.bash_profile
        fi
}

bash_profile

 

However, I also need to move some config files.  So I tried doing this - 
 

# Update Bash Profile
bash_profile () {
        if [ -f /root/.bash_profile ]; then
                cat /boot/config/bashprofile >> /root/.bash_profile
		cat /boot/config/neofetch >> /root/.config/neofetch/config.conf
		cat /boot/config/neofetch-unraid >> /root/.config/neofetch/unraid_ascii.txt
        fi
}

bash_profile

 

and that did not work, so I added

mkdir /root/.config/neofetch
chmod 700 /root/.config/neofetch

 

and that also did not work, so now I am super confused.  Why will it append the bash_profile but not these other config files?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...