×

WARRNING

VIEWING PAY TV WITHOUT A VALID SUBSCRIPTION IS ILLEGAL!! ALL FILES AVAILABLE HERE ARE FOR EXPERIMENTAL AND EDUCATIONAL PURPOSE ONLY
Page 1 of 2 12 LastLast
Results 1 to 5 of 6
  1. #1
    Status
    Offline

    Users Flag!
    skyhome's Avatar
    GS Administrator
    Join Date
    May 2014
    Receiver
    DVB Card S2
    Receiver
    VU+ULTIMO
    Posts
    204
    Thanks
    0
    Thanked 1 Time in 1 Post

    MultiCS END-DATE Script

    Hello guys,
    after being busy for quite some time, I found a few minutes to do something thousands of people asked me to, and couldn't resist it, firstly because it's SO SIMPLE,
    at least i believe it works, you are going to test it...

    script is very simple and very small, it's intention is to search for specific input on every user while parsing multics.cfg, but you will see everything for yourself in a small tuto:

    Installation:
    1. download the script from attachment and place it anywhere you want (I will consider /usr/script/ as default path)
    2. This is the tricky one:
    - open your multics.cfg and on EACH CLIENT you want to use end-date add this:
    Code:
    #End-date = dd-mm-yyyy
    dd-mm-yyyy being DATE WHEN CLIENT'S USAGE EXPIRES (check Example)
    Example:
    Code:
    F: username password #End-date = 06-02-2014
    or
    Code:
    MGUSER: username password #End-date = 06-02-2014
    ATTENTION: Syntax and date format MUST be exactly as shown in the example, otherwise the script wont work...

    4. If your multics.cfg is not in /var/etc/ or it's name isn't multics.cfg you need to open the script and edit these two variables:
    Code:
    MULTICS_CONFIG_DIR="/var/etc"
    MULTICS_CONFIG_NAME="multics.cfg"
    NOTE: the script is intended to delete the user that are expiring "TOMOROW", so if you add new cronjob that will run the script at 23:59h every day, you have everything covered

    so:

    5. add a cronjob something like this:
    Code:
    59 23 * * * root /usr/script/enddate.sh
    Then let it do it's job...

    If you want to test the script, do it like this:

    - add tomorrow's date to one of your clients, but with the EXACT SYNTAX AS SHOWN ABOVE
    - run the script
    - check your multics.cfg, you should see # (hash) in front of your client containing tomorrow's date
    Example:
    #F: user password #End-date = 06-02-2014


    Happy sharing to all...
    Attached Files Attached Files

  2. #2
    Status
    Offline
    baron75's Avatar
    GS Registered
    Join Date
    May 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks
    nicce job

  3. #3
    Status
    Offline
    IceKiller's Avatar
    GS Registered
    Join Date
    Jun 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for this seems nice

  4. #4
    Status
    Offline
    lazer's Avatar
    GS Registered
    Join Date
    Jun 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks

    nice job

  5. #5
    Status
    Offline
    jmorais's Avatar
    GS Registered
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx good job

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple script | Autorestart MultiCS
    By Geosharing™ in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 07-24-2015, 07:31 PM
  2. Script to start MultiCS when goes off.
    By Geosharing™ in forum Multics
    Replies: 0
    Last Post: 09-18-2014, 03:11 PM
  3. Multics FREE FTP BACKUP SCRIPT
    By Geosharing™ in forum Multics
    Replies: 2
    Last Post: 06-30-2014, 11:06 AM
  4. Script to start MultiCS when goes off.
    By Geosharing™ in forum Multics
    Replies: 3
    Last Post: 05-22-2014, 05:18 PM
  5. Simple script | Autorestart MultiCS
    By Geosharing™ in forum Multics
    Replies: 1
    Last Post: 05-13-2014, 02:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.