Skip to content

Commit

Permalink
[fix] address fix-disk_widget function per issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
JMSDOnline committed Apr 22, 2017
1 parent 3d1e297 commit c1e76c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/templates/bashrc.template
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@ alias syscommands='cd /usr/local/bin/quickbox'
# -> Performs some quick adjustments for certain conditions.
home_diskwidget() {
rm -f /srv/rutorrent/home/widgets/disk_data.php
cp /etc/QuickBox/dashboard/widgets/disk_datah.php /srv/rutorrent/home/widgets/disk_data.php
cp /etc/QuickBox/themes/defaulted/widgets/disk_datah.php /srv/rutorrent/home/widgets/disk_data.php
chown www-data: /srv/rutorrent/home/widgets/disk_data.php
service apache2 restart
}
root_diskwidget() {
rm -f /srv/rutorrent/home/widgets/disk_data.php
cp /etc/QuickBox/dashboard/widgets/disk_data.php /srv/rutorrent/home/widgets/disk_data.php
cp /etc/QuickBox/themes/defaulted/widgets/disk_data.php /srv/rutorrent/home/widgets/disk_data.php
chown www-data: /srv/rutorrent/home/widgets/disk_data.php
service apache2 restart
}
Expand Down

0 comments on commit c1e76c0

Please sign in to comment.