Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
This commit is contained in:
parent
871473255b
commit
6369c264e2
21 changed files with 103 additions and 130 deletions
8
controller/schema2c.sh
Executable file
8
controller/schema2c.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run this file to package the .sql file into a .c file whenever the SQL changes.
|
||||
|
||||
rm -f schema.sql.c
|
||||
echo '#define ZT_NETCONF_SCHEMA_SQL \' >schema.sql.c
|
||||
cat schema.sql | sed 's/"/\\"/g' | sed 's/^/"/' | sed 's/$/\\n"\\/' >>schema.sql.c
|
||||
echo '""' >>schema.sql.c
|
Loading…
Add table
Add a link
Reference in a new issue