You are not logged in.

#1 2012-08-20 14:48:10

thepasto
Member
From: trash:///
Registered: 2009-03-16
Posts: 58

Phc-intel systemd

hi everybody.

After systemd update i have the following problem with phc-intel:

sudo /etc/rc.d/phc-intel setup
Password:
/etc/rc.d/phc-intel: line 16: /etc/rc.conf: File o directory non esistente
/etc/rc.d/phc-intel: line 17: /etc/rc.d/functions: File o directory non esistente
/etc/rc.d/phc-intel: line 65: stat_busy: command not found
/etc/rc.d/phc-intel: line 75: stat_done: command not found
/etc/rc.d/phc-intel: line 76: stat_busy: command not found

any way to get it working w/o initscripts?

Thanks in advance

Offline

#2 2012-08-20 21:17:14

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Phc-intel systemd

You could look into the /etc/rc.d/phc-intel file and see what's actually done to setup phc-intel. Then run it manually or create a new script. If you have problems with this, post the rc.d file here and one of us will figure it out wink

Offline

#3 2012-08-27 13:59:15

Krawen
Member
Registered: 2012-05-21
Posts: 2

Re: Phc-intel systemd

In my opinion is it working the whole time. As Army recommended I checked what the missing commands in this file are doing (like stat_busy) and apparently it's only output stuff. Therefore I replaced all of them by simple echo commands (e.g. stat_done --> echo 'done'). When I'm now executing the scripts everything is running well.

Last edited by Krawen (2012-08-27 14:01:16)

Offline

#4 2012-08-27 17:00:40

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: Phc-intel systemd

Most likely you have removed initscripts, and hence don't have /etc/rc.d/functions, which your script is sourcing.

I guess you have installed systemd-sysvcompat, which will have removed sysvinit and initscripts. In the near future it will be possible to install systemd-sysvcompat without having to remove initscripts, but we are not quite there yet.

Offline

Board footer

Powered by FluxBB