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.

need help with go file

Featured Replies

Hi,

 

i need help with my go file :

 

#!/bin/bash
# Start the Management Utility
chmod 777 /dev/bus/usb/001/003
cp /mnt/disk8/isos/prename.pl /usr/bin
chmod 777 /usr/bin/prename.pl
modprobe i915
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri

/usr/local/sbin/emhttp &

bash_profile () {
        if [ -f /root/.bash_profile ]; then
                cat /boot/config/mybashprofile >> /root/.bash_profile
        fi
}

# Update Bash Profile
bash_profile

 

its working 50%, this commands are not executed after boot :

 

chmod 777 /dev/bus/usb/001/003

cp /mnt/disk8/isos/prename.pl /usr/bin

chmod 777 /usr/bin/prename.pl

 

i dont know why - these commands are working 100% when i execute them in a shell after reboot

 

help would be great


 

 


 

  • Community Expert

You are trying to run the commands before starting the emhttp daemon.     Also /mnt/disk8 will not be available until after the array has successfully been started.    Maybe you would better off running commands that need the array started via the User Scripts plug-in?

  • Author

ok thanks for this info with emhttp daemon.

but why is the chmod 777 /dev/bus/usb/001/003 command not working?

 

must take a look in the user scripts plug-in , thanks for this hint

Archived

This topic is now archived and is closed to further replies.

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.