$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- mkdir /etc/init.d
- cd $(DIR_SRC)/src/init.d && cp -v * /etc/init.d
+ test -d /etc/init.d || mkdir /etc/init.d
+ cd $(DIR_SRC)/src/init.d && cp -fv * /etc/init.d
chown root.root /etc/init.d/*
chmod 755 /etc/init.d/*
+ for i in applejuice asterisk cups cyrus-sasl gnump3d nfs-server postfix samba winbind xinetd; do ln -vfs /etc/init.d/$$i /usr/local/bin/rc$$i; done
+ rm -f /usr/local/bin/rcinit-functions
@$(POSTBUILD)
\ No newline at end of file