mirror of
https://github.com/nix-community/srvos.git
synced 2024-09-11 14:17:02 +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, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
# Based on https://unix.stackexchange.com/questions/16578/resizable-serial-console-window
|
# 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
|
export PATH=${pkgs.coreutils}/bin
|
||||||
if [ ! -t 0 ]; then
|
if [ ! -t 0 ]; then
|
||||||
# not a interactive...
|
# not a interactive...
|
||||||
|
Loading…
Reference in New Issue
Block a user