Jump to content

New, Updated Lime-Tech Helmet Skin


liquidkaos

Recommended Posts

Just install unmenu and make sure your /config/go file contains the following:

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

# Start unmenu
/boot/unmenu/uu

# Start Simple Features addon GUI
installpkg /boot/extra/simpleFeatures.tgz

# Start Addon Packages
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

Here is my complete go script which includes auto-start array, wait for array before MySQL start up, import custom banner.png for simple features, add custom cron-jobs (for rsync backup, etc.) and finally the cache dirs script at 3 levels deep:

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

# Start unmenu
/boot/unmenu/uu

# Start the array
echo "Starting the array"
sleep 5
/usr/bin/wget -q -O - localhost/update.htm >/dev/null
/usr/bin/wget -O - --post-data 'startState=STOPPED&cmdStart=Start' localhost/update.htm >/dev/null

# Wait for /mnt/cache to come online
echo "Checking for /mnt/cache for mysqld"
while ! test -d /mnt/cache;do sleep 5;done;sleep 5

# Start Simple Features addon GUI
installpkg /boot/extra/simpleFeatures.tgz
cp /boot/extra/banner.png /usr/local/emhttp/plugins/webGui/style

# Start Addon Packages
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

# Append custom cronjobs to existing
chmod +x /boot/extra/custom-cronjobs.sh
crontab -l >/tmp/crontab
grep -q "custom-cronjobs.sh" /tmp/crontab 1>/dev/null 2>&1
if [ "$?" = "1" ]
then
   crontab -l | egrep -v "add new rsync jobs to unRAID:|custom-cronjobs.sh" >/tmp/crontab
   echo "# add custom, daily jobs to unRAID:" >>/tmp/crontab
   echo "0 2 * * * /boot/extra/custom-cronjobs.sh 1>/dev/null 2>&1" >>/tmp/crontab
   cp /tmp/crontab /var/spool/cron/crontabs/root-
   crontab /tmp/crontab
fi

/usr/sbin/cache_dirs -w -B -m 1 -M 10 -d 3 -e .mysql

Link to comment
  • 1 month later...

Just for clarity, does this just give you the nice banner with the 'cat in a hat'?

 

Or do yuou also get the "Registered on" under the server version (left side) AND the "Server Uptime" on the right hand side?

 

This is just a skin, it doesn't change any of the information displayed by unRAID or unMenu (at least as far as I know).

Link to comment
  • 2 weeks later...

Ah, I see. I only ask as in the screenshot provided by the OP, it shows "Registered on...." under where it says unRaid Pro in the top left and also shows "Uptime" in the top right. I dont have these on my unRaid Basic (Free). Obviously I understand the Registered on wont appeear as the free version of unRaid is not registered but the Uptime would be useful. Is that somethig that shows up when you pay for a registered version?

Link to comment

Archived

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

×
×
  • Create New...