summaryrefslogtreecommitdiff
path: root/flx/init-frox/files/0.7-Add-initscript.patch
blob: 6d67d3f7b93cdfce2723294e25da80fc179fcbee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 19775e6fcc7a2c11a7bf83921c7737028f90299c Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
Date: Sun, 4 Dec 2011 01:24:13 +0100
Subject: [PATCH] Add initscript

---
 add-ons/initscript | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 add-ons/initscript

diff --git add-ons/initscript add-ons/initscript
new file mode 100644
index 0000000..2659875
--- /dev/null
+++ add-ons/initscript
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. $(dirname $0)/functions
+
+option	bin	reserved_option	/usr/sbin/frox
+option	config	standard_option	/etc/frox.conf
+option	cmdline	reserved_option	'$bin -f $opt_config'
+
+load_config