LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2017, 07:23 AM   #1
runnerpaul
Member
 
Registered: Mar 2006
Location: Ireland
Distribution: Fedora 5
Posts: 66

Rep: Reputation: 15
What is /lib/lsb/init-functions


Hi,

What does the below do?

Code:
. /lib/lsb/init-functions
It's in a script that I'm trying to run but I'm getting the below error:

Quote:
test.sh: line 5: /lib/lsb/init-functions: No such file or directory
The script was originally created for Debian but I'm trying to execute it on a MacBook.
Is it possible there's an equivalent MacBook path?

Cheers
Paul
 
Old 03-31-2017, 07:30 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,028

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
Quote:
Originally Posted by runnerpaul View Post
Hi,

What does the below do?

Code:
. /lib/lsb/init-functions
It's in a script that I'm trying to run but I'm getting the below error:



The script was originally created for Debian but I'm trying to execute it on a MacBook.
Is it possible there's an equivalent MacBook path?

Cheers
Paul
See: http://refspecs.linuxbase.org/LSB_3....scrptfunc.html

Hope this helps
 
Old 03-31-2017, 08:11 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,613
Blog Entries: 1

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
LSB normally references Linux Standard Base.

$ lsb_release -a
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Won't boot:/lib/lsb/init-functions: line 623 /run/boot log: Read-only file system hylyhd Linux From Scratch 11 07-30-2015 11:44 PM
[SOLVED] error no /lib/lsb/init_params? spiky0011 Linux From Scratch 3 12-03-2011 03:53 AM
Building LSB compatible application with LSB SDK - lsbappchk fails gkiagia Programming 0 01-12-2007 06:00 AM
manpages for C++ lib functions h/w Programming 2 02-16-2004 03:19 PM
/etc/rc.d/init.d/functions? ccajina Slackware 4 11-26-2003 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration