- cp $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
- cp files/S60srelay $(IDIR_SRELAY)/etc/init.d
- chmod 755 $(IDIR_SRELAY)/etc/init.d/S60srelay
+ cp -fpR $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
+ cp -fpR files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
+ cp -fpR files/srelay.conf $(IDIR_SRELAY)/etc
+ chmod 755 $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay