Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
die: command not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 510

PostPosted: Wed Mar 06, 2024 6:10 am    Post subject: die: command not found Reply with quote

quando faccio il restart di mpd, ottengo sempre questo messaggio:

Code:
/etc/init.d/mpd: line 40: die: command not found


presumo che die dovrebbe essere qualche funzione bash?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Wed Mar 06, 2024 7:11 am    Post subject: Reply with quote

Strano che in uno script openrc ci sia la funzione die, le funzioni disponibili dovrebbero essere
Code:
/lib/rc/bin/checkpath
/lib/rc/bin/ebegin
/lib/rc/bin/eend
/lib/rc/bin/eerror
/lib/rc/bin/eerrorn
/lib/rc/bin/eindent
/lib/rc/bin/einfo
/lib/rc/bin/einfon
/lib/rc/bin/eoutdent
/lib/rc/bin/esyslog
/lib/rc/bin/eval_ecolors
/lib/rc/bin/ewaitfile
/lib/rc/bin/ewarn
/lib/rc/bin/ewarnn
/lib/rc/bin/ewend
/lib/rc/bin/fstabinfo
/lib/rc/bin/get_options
/lib/rc/bin/is_newer_than
/lib/rc/bin/is_older_than
/lib/rc/bin/kill_all
/lib/rc/bin/mountinfo
/lib/rc/bin/on_ac_power
/lib/rc/bin/rc-depend
/lib/rc/bin/save_options
/lib/rc/bin/service_crashed
/lib/rc/bin/service_get_value
/lib/rc/bin/service_hotplugged
/lib/rc/bin/service_inactive
/lib/rc/bin/service_set_value
/lib/rc/bin/service_started
/lib/rc/bin/service_started_daemon
/lib/rc/bin/service_starting
/lib/rc/bin/service_stopped
/lib/rc/bin/service_stopping
/lib/rc/bin/service_wasinactive
/lib/rc/bin/shell_var
/lib/rc/bin/vebegin
/lib/rc/bin/veend
/lib/rc/bin/veindent
/lib/rc/bin/veinfo
/lib/rc/bin/veoutdent
/lib/rc/bin/vewarn
/lib/rc/bin/vewend

Quindi secondo me le linee con die dovrebbero essere sostituite con
Code:
eerror "messaggio"
return 1

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 510

PostPosted: Wed Mar 06, 2024 9:32 am    Post subject: Reply with quote

si infatti é un po strano, ,ma l´init é cosi:

https://data.gpo.zugaina.org/gentoo/media-sound/mpd/files/mpd-0.23.15.init
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Wed Mar 06, 2024 12:18 pm    Post subject: Reply with quote

Può essere un errore del manutentore del pacchetto, proverei ad aprire un bug.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum