fix: kismet --log-base -> --log-prefix (wrong flag), aiov2 pinctrl from raspberrypi-utils not libraspberrypi
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
User = "gortium";
|
User = "gortium";
|
||||||
Group = "kismet";
|
Group = "kismet";
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.kismet}/bin/kismet -c panda --log-base=/home/gortium/kismet_logs --no-nc-ui
|
${pkgs.kismet}/bin/kismet -c panda --log-prefix=/home/gortium/kismet_logs --no-nc-ui
|
||||||
'';
|
'';
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "gortium";
|
User = "gortium";
|
||||||
Group = "kismet";
|
Group = "kismet";
|
||||||
ExecStart = "${pkgs.kismet}/bin/kismet -c wlan0 --log-base=/home/gortium/kismet_logs --no-nc-ui";
|
ExecStart = "${pkgs.kismet}/bin/kismet -c wlan0 --log-prefix=/home/gortium/kismet_logs --no-nc-ui";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ let
|
|||||||
applyRailsScript = pkgs.writeShellScript "apply-aio-v2-rails" (
|
applyRailsScript = pkgs.writeShellScript "apply-aio-v2-rails" (
|
||||||
''
|
''
|
||||||
set -e
|
set -e
|
||||||
PINCTRL=${pkgs.libraspberrypi}/bin/pinctrl
|
PINCTRL=${pkgs.raspberrypi-utils}/bin/pinctrl
|
||||||
''
|
''
|
||||||
+ concatStringsSep "" (mapAttrsToList (name: pin: ''
|
+ concatStringsSep "" (mapAttrsToList (name: pin: ''
|
||||||
if [ "${if cfg.bootRails.${name} then "1" else "0"}" = "1" ]; then
|
if [ "${if cfg.bootRails.${name} then "1" else "0"}" = "1" ]; then
|
||||||
@@ -123,7 +123,7 @@ in {
|
|||||||
# Package the aiov2_ctl tool + pinctrl
|
# Package the aiov2_ctl tool + pinctrl
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cfg.package
|
cfg.package
|
||||||
libraspberrypi # provides pinctrl
|
raspberrypi-utils # provides pinctrl
|
||||||
];
|
];
|
||||||
|
|
||||||
# Boot rail systemd oneshot service
|
# Boot rail systemd oneshot service
|
||||||
|
|||||||
Reference in New Issue
Block a user