--- Makefile.org 2004-04-14 16:37:03.000000000 +0200 +++ Makefile 2004-04-14 16:37:00.000000000 +0200 @@ -42,6 +42,10 @@ INITD=etc/rc.d/init.d/ endif +ifeq ($DIST),gentoo) + INITD=$(PREFIX)sbin/ +endif + ifeq ($(INITD),,) $(warning Can not guess distribution INITD, please fix Makefile.vars) $(warning Assume INITD=etc/init.d according to LSB) @@ -54,15 +58,15 @@ install: mkdir -p $(PREFIX)etc/ha.d/resource.d install -D -m 755 drbd $(PREFIX)$(INITD)/drbd - @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \ - install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \ - fi +# @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \ +# install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \ +# fi ln -sf ../../../$(INITD)drbd $(PREFIX)etc/ha.d/resource.d/datadisk -ifeq ($(DIST),suse) - ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd -endif - @ echo - @ echo "Don't forget to run update-rc.d or chkconfig" +#ifeq ($(DIST),suse) +# ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd +#endif +# @ echo +# @ echo "Don't forget to run update-rc.d or chkconfig" clean: rm -f *~