LinuxQuestions.org
Help answer threads with 0 replies.
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, 06:23 AM   #1
runnerpaul
Member
 
Registered: Mar 2006
Location: Ireland
Distribution: Fedora 5
Posts: 67

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, 06:30 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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, 07:11 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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 10:44 PM
[SOLVED] error no /lib/lsb/init_params? spiky0011 Linux From Scratch 3 12-03-2011 02:53 AM
Building LSB compatible application with LSB SDK - lsbappchk fails gkiagia Programming 0 01-12-2007 05:00 AM
manpages for C++ lib functions h/w Programming 2 02-16-2004 02:19 PM
/etc/rc.d/init.d/functions? ccajina Slackware 4 11-26-2003 03:05 PM

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

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