[Slackbuilds-users] Using something other than bash for rc scripts?

Charadon dev at iotib.net
Sat May 11 00:34:10 UTC 2024


Yeah, I meant an init script. You are right that I can't guarantee that 
someone doesn't have their /usr partition mounted. But then again, by 
the time anything runs in rc.local, every should be mounted in the 
fstab. So I don't think it'd be too much of a problem?

*From: *Eric Pozharski [mailto:apple.universe at posteo.net]
*Sent: *Friday, May 10, 2024 02:51 AM -04
*To: *"SlackBuilds.org Users List"
*Subject: *[Slackbuilds-users] Using something other than bash for rc 
scripts?

On Thu, May 09, 2024 at 04:00:46PM -0400, Charadon via SlackBuilds-users wrote:

> I was wondering if it's fine to use another scripting language like
> Perl for an rc script, rather than bash for a slackbuild.

This is ambiguous.  If you mean "rc.d/rc.* script that slackbuild
provides" then it's rather risky.  Until /usr-merge is complete you
can't be certain that perl (or whatever unshelled scripting) is already
available (even if the system is yours).

If you mean "*.SlackBuild that builds my slackbuild" then you're
inviting certain painful experiences (probably not worth it).

*CUT* [ 14 lines   1 level deep]

p.s.  From get go I've foreseen that rc.inet* will be crippling.  So
I've set on path of home-brew networking.  I choose zsh for this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240510/589e0e05/attachment.htm>


More information about the SlackBuilds-users mailing list