mirror of
https://github.com/NAStools/zerotierone.git
synced 2025-08-22 14:24:11 -07:00
Compare commits
No commits in common. "master" and "readynas/1.1.14-nt2" have entirely different histories.
master
...
readynas/1
3 changed files with 5 additions and 15 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,9 +1,3 @@
|
||||||
zerotier-one (1.1.14-nt3) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Clean up authtoken CGI
|
|
||||||
|
|
||||||
-- NAStools <dev@nas.tools> Fri, 09 Dec 2016 10:20:55 -0800
|
|
||||||
|
|
||||||
zerotier-one (1.1.14-nt2) unstable; urgency=medium
|
zerotier-one (1.1.14-nt2) unstable; urgency=medium
|
||||||
|
|
||||||
* Include UI from macOS client
|
* Include UI from macOS client
|
||||||
|
|
12
debian/readynas/authtoken.c
vendored
12
debian/readynas/authtoken.c
vendored
|
@ -3,18 +3,14 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char c[32];
|
char c;
|
||||||
|
|
||||||
f=fopen("/apps/nastools-zerotier-one/var/authtoken.secret","r");
|
f=fopen("/apps/nastools-zerotier-one/var/authtoken.secret","rt");
|
||||||
if(!f)
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
printf("Content-Type: text/plain\n\n");
|
printf("Content-Type: text/plain\n\n");
|
||||||
|
|
||||||
size_t ret = fread(c, 1, sizeof(c), f);
|
while ((c=fgetc(f))!=EOF)
|
||||||
if(!ret)
|
printf("%c", c);
|
||||||
return 1;
|
|
||||||
fwrite(c, ret, 1, stdout);
|
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
2
debian/readynas/config.xml
vendored
2
debian/readynas/config.xml
vendored
|
@ -1,5 +1,5 @@
|
||||||
<Application resource-id="nastools-zerotier-one">
|
<Application resource-id="nastools-zerotier-one">
|
||||||
<Version>1.1.14-nt3</Version>
|
<Version>1.1.14-nt2</Version>
|
||||||
<MinFirmwareVer>6.6.0</MinFirmwareVer>
|
<MinFirmwareVer>6.6.0</MinFirmwareVer>
|
||||||
<Name>ZeroTier One NT</Name>
|
<Name>ZeroTier One NT</Name>
|
||||||
<Author>NAStools</Author>
|
<Author>NAStools</Author>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue