serial: fix shebang in resize script (#318)

This commit is contained in:
Jörg Thalheim 2023-11-24 09:46:37 +01:00 committed by GitHub
parent 71fca17388
commit 396f6d3fa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
# Based on https://unix.stackexchange.com/questions/16578/resizable-serial-console-window
resize = pkgs.writeScriptBin "resize" ''
resize = pkgs.writeShellScriptBin "resize" ''
export PATH=${pkgs.coreutils}/bin
if [ ! -t 0 ]; then
# not a interactive...