January 21, 20215 yr 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
January 21, 20215 yr 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?
January 21, 20215 yr 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.