DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = lcd4linux
-PAK_VER = 1
+PAK_VER = 2
DEPS = ""
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/lcd4linux
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
+ install -v -m 644 $(DIR_SRC)/config/backup/includes/lcd4linux /var/ipfire/backup/addons/includes/lcd4linux
@rm -rf $(DIR_APP)
@$(POSTBUILD)
--- /dev/null
+#!/bin/sh
+# Begin $rc_base/init.d/lcd4linux
+
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+ start)
+ boot_mesg "Starting lcd4linux..."
+ if [ ! -f /etc/lcd4linux.conf ]; then
+ boot_mesg "No configuration file found, not starting."
+ exit 1
+ fi
+
+ loadproc /usr/bin/lcd4linux
+ ;;
+
+ stop)
+ boot_mesg "Stopping lcd4linux..."
+ killproc /usr/bin/lcd4linux
+ ;;
+
+ reload)
+ boot_mesg "Reloading smbd..."
+ reloadproc /usr/sbin/smbd
+
+ boot_mesg "Reloading nmbd..."
+ reloadproc /usr/sbin/nmbd
+ ;;
+
+ restart)
+ $0 stop
+ sleep 3
+ $0 start
+ ;;
+
+ status)
+ statusproc /usr/bin/lcd4linux
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|reload|restart|status}"
+ exit 1
+ ;;
+esac
+
+
+# End $rc_base/init.d/lcd4linux