Ignore:
Timestamp:
Sep 7, 2013, 12:42:33 PM (7 years ago)
Author:
nit
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/dlna/dlna.h

    r23355 r23360  
    253253        dlnasetdefault(node);
    254254       
    255         if(file_exist("/var/swap/etc/minidlna.conf") == 1)
    256         {
    257                 dlnastop = "/var/swap/titanplugins/dlna/dlna.sh stop /var/swap/etc/minidlna.conf";
    258                 dlnastart = "/var/swap/titanplugins/dlna/dlna.sh start /var/swap/etc/minidlna.conf";
     255        if(file_exist("/var/etc/minidlna.conf") == 1)
     256        {
     257                dlnastop = "/var/usr/local/share/titan/plugins/dlna/dlna.sh stop /var/etc/minidlna.conf";
     258                dlnastart = "/var/usr/local/share/titan/plugins/dlna/dlna.sh start /var/etc/minidlna.conf";
    259259                dlnaconfig = "/var/swap/etc/minidlna.conf";     
    260260        }
     261        else if(file_exist("/var/swap/etc/minidlna.conf") == 1)
     262        {
     263                dlnastop = "/var/swap/usr/local/share/titan/plugins/dlna/dlna.sh stop /var/swap/etc/minidlna.conf";
     264                dlnastart = "/var/swap/usr/local/share/titan/plugins/dlna/dlna.sh start /var/swap/etc/minidlna.conf";
     265                dlnaconfig = "/var/swap/etc/minidlna.conf";     
     266        }
    261267        else
    262268        {
    263                 dlnastop = "/mnt/swapextensions/titanplugins/dlna/dlna.sh stop /mnt/swapextensions/etc/minidlna.conf";
    264                 dlnastart = "/mnt/swapextensions/titanplugins/dlna/dlna.sh start /mnt/swapextensions/etc/minidlna.conf";
     269                dlnastop = "/mnt/swapextensions/usr/local/share/titan/plugins/dlna/dlna.sh stop /mnt/swapextensions/etc/minidlna.conf";
     270                dlnastart = "/mnt/swapextensions/usr/local/share/titan/plugins/dlna/dlna.sh start /mnt/swapextensions/etc/minidlna.conf";
    265271                dlnaconfig = "/mnt/swapextensions/etc/minidlna.conf";   
    266272        }
Note: See TracChangeset for help on using the changeset viewer.