hello
i am running rqcs on ubuntu 10.4.i have to start manuly.can any one tel me how can i make it run on boot please.
rqcs start up script for ubuntu
- stien
- Thread is marked as Resolved.
-
-
hello
i am running rqcs on ubuntu 10.4.i have to start manuly.can any one tel me how can i make it run on boot please.
What you have to do1st make your script executable sudo chmod +x (filename)
2nd
go to
/etc
and edit rc.local
and add your script there
every reboot restart scriptgreetz
doomer
-
thanks
thats what i wanted to know how to make executable script.i dont know linux much. -
would this script be ok?
#! /bin/sh
# /etc/init.d/rqcs
## Some things that run always
touch /var/lock/rqcs# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting script rqcs "
echo "Could do more here"
;;
stop)
echo "Stopping script rqcs"
echo "Could do more here"
;;
*)
echo "Usage: /etc/init.d/rqcs {start|stop}"
exit 1
;;
esacexit 0
-
hello i added this script to etc/init.d and used command update-rqcs defaults then chmod +x rqcs
but it wont start up aat reboot can any one help here please!#! /bin/sh
# /etc/init.d/rqcs
## Some things that run always
DAEMONPATH=/usr/local/rqcs# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting script rqcs "
echo "Could do more here"
;;
stop)
echo "Stopping script rqcs"
echo "Could do more here"
;;
*)
echo "Usage: /etc/init.d/rqcs {start|stop}"
exit 1
;;
esacexit 0
Your support forum for satellite viewing cards and subscriptions.
Get help with activation, troubleshooting, and compatibility for all major TV packages. Official support for satellite TV subscriptions. Find help for viewing cards, package activation, and troubleshooting your pay-TV service.
