LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2006, 01:59 AM   #16
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52

I guess you answered your own question then, huh?
 
Old 12-22-2006, 03:15 AM   #17
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
The man above with the formatting corrections fixed it for me. I dont know who he is.
 
Old 12-22-2006, 01:44 PM   #18
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Just so you don't mistrust so much, Piter Punk is one of the foremost and longest standing contributors to Slackware. Search nearly any Slack Changelog for his name and you'll see what I mean.
 
Old 12-22-2006, 03:02 PM   #19
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
So is editting this file the right thing to do? It seems like I'm hacking up a system file, and I shuold maybe be approaching it differtnyl, whats the usualy course of action for adding you own slackware services?
 
Old 12-22-2006, 03:19 PM   #20
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
There's nothig wrong with modifying that file. That's what's it for. Myself, I find it easier to just:

chmod 644 /etc/rc.d/rc.ut2004ded

if I want to disable it on bootup.

chmod 755 /etc/rc.d/rc.ut2004ded

if I want it to start on bootup.

There is no right or wrong way to do it. As long as your happy with it, then who cares? You could even start the service by putting this in rc.alsa:

/etc/rc.d/rc.ut2004ded start

While that's not the "proper" way to do it, again, who cares? It'll still start....
 
Old 12-22-2006, 03:24 PM   #21
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
You can also take it one step further. I do many such "tweaks" to stock slackware scripts. It's a pain in the but every time I install slackware to change all those files again. So, I'll explode package on the original package, make my modifications, package it back up, make a new ISO with the new package included and then burn a new disk.

That way, once I'm done installing, I have no tweaks to perform. It's already setup just the way I like it.
 
Old 12-22-2006, 03:47 PM   #22
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
Impressive.

As for the post before your last, if I were to put a script in rc.d, and chmod it -x, it would automaically start on bootup (even if I didnt edit the setup file?)
 
Old 12-22-2006, 05:27 PM   #23
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Exactally.

Look at the for loop again in /var/log/setup/setup.services... That's all that script does. The for loop at the bottom is the meat of the script and the rest is just dialog fluff. IMO, it's actually quicker to open a terminal and use chmod than it is to do it thru pkgtool....

On a side note, the only way this exectable/non-exectable rc system works is if you enclose your startup command in an if then statement. So, if your using /etc/rc.d/rc.local to fire your script up, then use this in rc.local:
Code:
if [ -x /etc/rc.d/rc.ut2004ded ]; then
   /etc/rc.d/rc.ut2004ded start
fi
or put that towards the end of rc.M... Doesn't matter what script you use. They are both appropriate places to start your UT server.

Last edited by jong357; 12-22-2006 at 05:34 PM.
 
Old 12-22-2006, 07:16 PM   #24
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
Yeah just chmoding the file seems to set well with me over editing the file, even though it worked. Regardless, thank you for your insight.
 
Old 12-24-2006, 12:59 AM   #25
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by byteframe
I dont know, I dont trust a guy named Piter Punk, this is slackware compatible?
Making comments about "forum nazis" and snide remarks about PiterPunk are not good ways of endearing yourself to the people most qualified to help you here.
 
Old 12-24-2006, 12:26 PM   #26
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
So your saying people shouldn't be allowed to make jokes in the Subject line, IN THE SLACKWARE SECTION? Are you crazy? Fuck em if they can't take a joke.
 
Old 12-24-2006, 02:40 PM   #27
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
You need to chill out man. Comments about nazi's are uncalled for whether joking or not. People don't appreciate it, especially if they're jewish. Use your head. Swearing is best left out of the forums as well. This is a public place, some common sense and tact is called for.

I ignored it and continued to help but I think you'll find any future help around here hard to come by unless you make some adjustments.
 
Old 12-24-2006, 04:45 PM   #28
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
But you have to admit, the dog bit certainly got the thread rolling!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using pkgtool steveel Slackware - Installation 3 02-22-2006 01:47 PM
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 12:10 PM
pkgtool does nothing?! alienDog Slackware 8 10-31-2004 05:11 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
pkgtool sio Linux - General 0 07-30-2003 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration