mirror of
https://github.com/nix-community/srvos.git
synced 2024-08-17 01:40:26 +03:00
serial: fix shebang in resize script (#318)
This commit is contained in:
parent
71fca17388
commit
396f6d3fa4
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user