Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot move config files with /boot/config/go

Featured Replies

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?

Solved by semaj4712

  • Author
  • Solution

I figured it out

 

I realized I was using cat not cp to move the files over

 

cp /boot/config/neofetch /root/.config/neofetch/config.conf

 

Fixed it

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.