Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/l2tp
@ 2007-11-27  8:30 ulf at uclibc.org
  0 siblings, 0 replies; 2+ messages in thread
From: ulf at uclibc.org @ 2007-11-27  8:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-11-27 00:30:34 -0800 (Tue, 27 Nov 2007)
New Revision: 20550

Log:
Bump l2tp patch version (CCourtesy of Ivan Kuten)

Removed:
   trunk/buildroot/package/l2tp/l2tp-rename-func-log.patch

Modified:
   trunk/buildroot/package/l2tp/l2tp.mk


Changeset:

Sorry, the patch is too large to include (2921 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=20550

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/l2tp
@ 2007-02-16 18:11 aldot at uclibc.org
  0 siblings, 0 replies; 2+ messages in thread
From: aldot at uclibc.org @ 2007-02-16 18:11 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-16 10:11:48 -0800 (Fri, 16 Feb 2007)
New Revision: 17911

Log:
- add runlevel script


Added:
   trunk/buildroot/package/l2tp/l2tpd

Modified:
   trunk/buildroot/package/l2tp/l2tp.mk


Changeset:
Modified: trunk/buildroot/package/l2tp/l2tp.mk
===================================================================
--- trunk/buildroot/package/l2tp/l2tp.mk	2007-02-16 18:02:50 UTC (rev 17910)
+++ trunk/buildroot/package/l2tp/l2tp.mk	2007-02-16 18:11:48 UTC (rev 17911)
@@ -39,6 +39,7 @@
 
 $(TARGET_DIR)/$(L2TP_TARGET_BINARY): $(L2TP_DIR)/$(L2TP_BINARY)
 	cp -dpf $(L2TP_DIR)/$(L2TP_BINARY) $@
+	cp -dpf package/l2tp/l2tpd $(TARGET_DIR)/etc/init.d/
 	$(STRIP) $@
 
 l2tp: uclibc $(TARGET_DIR)/$(L2TP_TARGET_BINARY)

Added: trunk/buildroot/package/l2tp/l2tpd
===================================================================
--- trunk/buildroot/package/l2tp/l2tpd	                        (rev 0)
+++ trunk/buildroot/package/l2tp/l2tpd	2007-02-16 18:11:48 UTC (rev 17911)
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DAEMON=/usr/sbin/l2tpd
+PIDFILE=/var/run/l2tpd.pid
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+  start)
+    start-stop-daemon --start  --pidfile $PIDFILE --exec $DAEMON -- -D &
+    ;;
+  stop)
+    start-stop-daemon --stop  --pidfile $PIDFILE --exec $DAEMON
+    ;;
+  restart|force-reload)
+    start-stop-daemon --stop  --pidfile $PIDFILE --exec $DAEMON 
+    sleep 1
+    start-stop-daemon --start  --pidfile $PIDFILE --exec $DAEMON
+    ;;
+  *)
+    echo "Usage: /etc/init.d/l2tdp {start|stop|restart|force-reload}"
+    exit 1
+    ;;
+esac
+
+exit 0


Property changes on: trunk/buildroot/package/l2tp/l2tpd
___________________________________________________________________
Name: svn:executable
   + *

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-27  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27  8:30 [Buildroot] svn commit: trunk/buildroot/package/l2tp ulf at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2007-02-16 18:11 aldot at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox