Welcome, Guest. Please login or register.
April 19, 2014, 12:46:12 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  General topics
| | |-+  How do I Get Pardus version & add/remove script to default runlevel?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How do I Get Pardus version & add/remove script to default runlevel?  (Read 1374 times)
trixon
Guest
« on: September 17, 2007, 13:50:56 PM »

1. How do I detect that Im on a pardus system and what version it is?
2. How do I add an init script which I have placed in /etc/init.d to the default runlevel?
3. How do I remove an init script from the default runlevel?
Logged
roverrat
Pardus Master
***
Posts: 236



View Profile
« Reply #1 on: September 17, 2007, 15:05:47 PM »

1. cat /etc/pardus-release

2. Pardus doesn't handle init scripts like other distros. You can start your own scripts automatically by putting them in the file  /etc/conf.d/local.start

To see the currently running services that are handled by Pardus  (mudur / comar) in the default runlevel:

Code:
service list

To start such a service:

Code:
service servicename start

To add it to the default runlevel so that it will start automatically the next time the system boots:

Code:
service servicename on
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!