LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-21-2018, 09:26 PM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Is there (do we need) a GUI/tui to create symlinks for the /etc/rc.d/rc?.d directories?


I'm still thinking about software which installs scripts to /etc/rc.d/init.d/

Yeah, I can make the necessary symlinks to rc?.d directories myself, but just after a while I thought that it may be useful to have a gui/tui for it, similar to netconfig.

Does anyone think it's a good idea?

(I actually mostly consider this as an exercise in Bash scripting, but anyway it's better to do any exercise knowing that I'm not doing it just for myself.)
 
Old 06-22-2018, 12:20 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
The /etc/rc.d/init.d/ is a compatibility feature for the alien packages which expects a SysV init system like the historical Fedora or RedHat, and not the Slackware native one.

So, nope. I do not think that an GUI/TUI to edit this feature is a good idea.

BTW, the Slackware is about doing things in the old good way: manually.

Last edited by Darth Vader; 06-22-2018 at 12:27 AM.
 
Old 06-22-2018, 03:57 AM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
You can package a symlink.

Or, for stuff that you're not packaging, just create the symlinks manually. It's not a regular occurrence, so the effort/energy is probably not worth expending.

That said, if you were to create a text-based tool, I'd most likely download it. I like having tools for specific jobs.
 
Old 06-22-2018, 04:35 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
OP: you keep it as a secret which distro you use, you mention it neither in your profile nor in your question. Maybe that is to keep the discussion lively?

Anyway, Debian based distros already have update-rc.d which takes care of this symlinking.

jlinkels
 
Old 06-22-2018, 04:52 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
^ The question was posted in the Slackware forum.
 
Old 06-22-2018, 07:23 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by rkelsen View Post
^ The question was posted in the Slackware forum.
Then it is fairly stupid of me that I did not notice it. When looking at "Latest threads" it can be seen of course in which forum a thread resides. But it is not that obvious like in consciously entering the Slackware forum.

My apologies.

jlinkels
 
  


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
udev rule failing to create iscsi symlinks! patrarch Linux - Newbie 2 10-21-2021 01:01 PM
can you create symlinks in samba shares? if so, how? punt Linux - General 3 12-22-2005 08:34 AM
Distro / kernal - TUI vs GUI Kumado Linux - Newbie 13 02-13-2005 12:41 PM
mirrordir can't create symlinks flometzger Linux - Networking 0 12-07-2004 06:31 AM
create symlinks for wine 2004-05-05 duzchip Linux - Software 0 06-07-2004 02:59 PM

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

All times are GMT -5. The time now is 03:01 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