1
0

Compare commits

..

No commits in common. "95dd1a1fab79870f56b497aba04f2b3ebded3dde" and "9fd9b8b8784d76bf3c4459a3a946a7ef2e03e4ca" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -93,8 +93,6 @@
image if there are records in pstore, because that interferes with image if there are records in pstore, because that interferes with
``config.log.persistent`` ``config.log.persistent``
.. code-block:: console
root@OpenWrt:~# fw_setenv orig_boot_production $(fw_printenv -n boot_production) root@OpenWrt:~# fw_setenv orig_boot_production $(fw_printenv -n boot_production)
root@OpenWrt:~# fw_setenv orig_bootcmd $(fw_printenv -n bootcmd) root@OpenWrt:~# fw_setenv orig_bootcmd $(fw_printenv -n bootcmd)
root@OpenWrt:~# fw_setenv boot_production 'led $bootled_pwr on ; ubifsmount ubi0:liminix && ubifsload ''${loadaddr} boot/fit && bootm ''${loadaddr}' root@OpenWrt:~# fw_setenv boot_production 'led $bootled_pwr on ; ubifsmount ubi0:liminix && ubifsload ''${loadaddr} boot/fit && bootm ''${loadaddr}'

View File

@ -21,16 +21,15 @@
let let
inherit (pkgs.liminix.services) longrun; inherit (pkgs.liminix.services) longrun;
inherit (pkgs) writeText; inherit (pkgs) writeText;
nginx_uid = 62;
in { in {
config = { config = {
users.nginx = { users.nginx = {
uid = nginx_uid; gid= nginx_uid; uid = 52; gid= 52;
dir = "/run/"; dir = "/run/";
shell = "/bin/false"; shell = "/bin/false";
}; };
groups.nginx = { groups.nginx = {
gid= nginx_uid; gid= 52;
usernames = ["nginx"]; usernames = ["nginx"];
}; };