You are not logged in.

#1 2008-12-07 15:21:57

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

I deleted functions by accident..

Yes i deleted /etc/rc.d/functions by accident and all the startup scripts are screwed bigtime. Are there any ways of fixing this without formatting?

Thanx and good nite..

Offline

#2 2008-12-07 15:47:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: I deleted functions by accident..

Reinstall initscripts

Offline

#3 2008-12-07 15:50:12

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: I deleted functions by accident..

pacman should still be running just fine without /etc/rc.d/functions.d.

pacman -Qo wrote:

/etc/rc.d/functions is owned by initscripts 2008.09-2

so

sudo pacman -S initscripts

should gracefully reinstall everything.

if you've made any changes to other files you didn't hose and you don't want to lose them (or don't want to re-edit your rc.conf),  you could use the ABS package and

makepkg -o

then copy 'functions' from

/path/to/unpacked/abs/tarball/initscripts/src/initscripts-2008.09-2/

and if you ever do it again, the same procedure applies to any arch package.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#4 2008-12-07 15:51:19

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: I deleted functions by accident..

Allan wrote:

Reinstall initscripts

dammit, allan!  you got that while i was writing!

+1 for quickdraw


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#5 2008-12-07 23:42:34

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: I deleted functions by accident..

Awesome, everything went back to normal after reinstalling initscripts..

Thanks guys..

Offline

Board footer

Powered by FluxBB