Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
packages
Commits
e80fe2cc
Commit
e80fe2cc
authored
10 years ago
by
Patrick Uven
Browse files
Options
Downloads
Patches
Plain Diff
Renamed ffol to ffnw in package fastdreg
parent
baf7ea63
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fastdreg/Makefile
+8
-8
8 additions, 8 deletions
fastdreg/Makefile
fastdreg/files/lib/ffnw/fastdreg/fastdreg.sh
+2
-2
2 additions, 2 deletions
fastdreg/files/lib/ffnw/fastdreg/fastdreg.sh
with
10 additions
and
10 deletions
fastdreg/Makefile
+
8
−
8
View file @
e80fe2cc
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
ff
ol
-fastdreg
PKG_NAME
:=
ff
nw
-fastdreg
PKG_VERSION
:=
1
PKG_RELEASE
:=
1
...
...
@@ -8,14 +8,14 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include
$(INCLUDE_DIR)/package.mk
define
Package/ff
ol
-fastdreg
define
Package/ff
nw
-fastdreg
SECTION
:=
fastd
CATEGORY
:=
Freifunk
Oldenburg
CATEGORY
:=
Freifunk
Nordwest
TITLE
:=
Adds script which registers fastd-key
DEPENDS
:=
+gluon-mesh-vpn-fastd
endef
define
Package/ff
ol
-fastdreg/description
define
Package/ff
nw
-fastdreg/description
Adds
script
which
registers
fastd-key
endef
...
...
@@ -29,13 +29,13 @@ endef
define
Build/Compile
endef
define
Package/ff
ol
-fastdreg/install
define
Package/ff
nw
-fastdreg/install
$(INSTALL_DIR)
$(1)/lib/gluon/cron/
$(INSTALL_DATA)
files/lib/gluon/cron/fastdreg
$(1)/lib/gluon/cron/fastdreg
$(INSTALL_DIR)
$(1)/lib/ff
ol
/fastdreg/
$(INSTALL_BIN)
files/lib/ff
ol
/fastdreg/fastdreg.sh
$(1)/lib/ff
ol
/fastdreg/
$(INSTALL_DIR)
$(1)/lib/ff
nw
/fastdreg/
$(INSTALL_BIN)
files/lib/ff
nw
/fastdreg/fastdreg.sh
$(1)/lib/ff
nw
/fastdreg/
$(INSTALL_DIR)
$(1)/etc/config/
$(INSTALL_CONF)
files/fastdreg.config
$(1)/etc/config/fastdreg
endef
$(
eval
$(
call BuildPackage,ff
ol
-fastdreg
))
$(
eval
$(
call BuildPackage,ff
nw
-fastdreg
))
This diff is collapsed.
Click to expand it.
fastdreg/files/lib/ff
ol
/fastdreg/fastdreg.sh
→
fastdreg/files/lib/ff
nw
/fastdreg/fastdreg.sh
+
2
−
2
View file @
e80fe2cc
...
...
@@ -7,12 +7,12 @@ hostname=$(uci get system.@system[0].hostname)
pubkey
=
$(
/etc/init.d/fastd show_key mesh_vpn
)
regdone
=
$(
uci get fastdreg.ff
ol
.regdone
)
regdone
=
$(
uci get fastdreg.ff
nw
.regdone
)
if
[
"
$regdone
"
-ne
"1"
]
;
then
reg
=
$(
wget
-T15
"
$keysrv
/reg.php?name=
$hostname
&key=
$pubkey
"
-O
-
)
if
[
"
$reg
"
==
"regdone"
]
;
then
uci
set
fastdreg.ff
ol
.regdone
=
1
uci
set
fastdreg.ff
nw
.regdone
=
1
uci commit
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment