Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!bin/bash
- # install.sh
- WEBGUI_HOME="/usr/local/emhttp/plugins/webGui"
- WEBGUI_INSTALL="/boot/webGui"
- if [ -d $WEBGUI_HOME ]; then
- mv $WEBGUI_HOME/template.php $WEBGUI_HOME/template_old.php
- mv $WEBGUI_HOME/style/template.css $WEBGUI_HOME/template_old.css
- cp $WEBGUI_INSTALL/template.php $WEBGUI_HOME/template.php
- cp $WEBGUI_INSTALL/style/template.css $WEBGUI_HOME/style/template.css
- cp $WEBGUI_INSTALL/images/nav_bg.png $WEBGUI_HOME/images/nav_bg.png
- cp -R $WEBGUI_INSTALL/images/icons $WEBGUI_HOME/images/icons
- else
- echo "$WEBGUI_HOME isn't a directory. Make sure you're running unRAID 5" | logger
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement