LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is /lib/lsb/init-functions (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-lib-lsb-init-functions-4175602917/)

runnerpaul 03-31-2017 06:23 AM

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

jsbjsb001 03-31-2017 06:30 AM

Quote:

Originally Posted by runnerpaul (Post 5690769)
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 :)

Shadow_7 03-31-2017 07:11 AM

LSB normally references Linux Standard Base.

$ lsb_release -a


All times are GMT -5. The time now is 08:09 PM.