الطريقة سهلة جداً
---------------------------
وهي كالتالي
ادخل على ملفات سيرفرك VPS بواسطة FTP
اذهب للمسار etc ستجد ملف rc.local أفتحه
راح تجده كالتالي قبل التعديل[/COLOR]
[PHP]#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0[/PHP]
[/SIZE][/B][/FONT][/COLOR][/B]
قم فقط بإضافة اﻷسطر التالية قبل السطر
[PHP]exit 0[/PHP]
وراح تكون اﻷوامر المضافة كالتالي
أوﻻً لمن أراد اعادة تشغيل السي سي كام فقط يضيف اﻷمر بالملف
[PHP]/var/bin/./CCcam.x86[/PHP]
ثانياً لمن أراد اعادة تشغيل البروكسي فقط يضيف اﻷمر بالملف
[PHP]/usr/local/csp/./cardproxy.sh start[/PHP]
ثالثاً لمن أراد اعادة تشغيل اﻷوسكام فقط يضيف اﻷمر بالملف
[PHP]/var/bin/./oscam -b[/PHP]
رابعاً لمن أراد اعادة تشغيل جميع ماسبق يضيف اﻷوامر التالية بالملف
[PHP]/var/bin/./CCcam.x86 /var/bin/./oscam -b /usr/local/csp/./cardproxy.sh start[/PHP]
وطبعاً ﻻ تنسى أن تعمل حفظ للملف
ويعمل ريستارت لسيرفر VPS باﻷمر التالي
[PHP]reboot -n[/PHP]
وذلك لتجربة ماسبق وراح يعيد ******* تلقائياً تشغيل ماسبق خلال 2-5 دقائق
ملف rc.local مع اﻷوامر بعد التعديل واﻹضافة عليه
[PHP]#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /var/bin/./CCcam.x86 /var/bin/./oscam -b /usr/local/csp/./cardproxy.sh start exit 0[/PHP]
وطبعاً بهذه الطريقة بإمكانك تشغيل أي ***** لديك فقط بإضافة اﻷمر