mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
0817c307dc
svn path=/nixos/trunk/; revision=7155
20 lines
250 B
Nix
20 lines
250 B
Nix
{bash}:
|
|
|
|
{
|
|
name = "maintenance-shell";
|
|
|
|
job = "
|
|
start on maintenance
|
|
start on stalled
|
|
|
|
script
|
|
exec < /dev/tty1 > /dev/tty1 2>&1
|
|
echo \"\"
|
|
echo \"<<< MAINTENANCE SHELL >>>\"
|
|
echo \"\"
|
|
exec ${bash}/bin/sh
|
|
end script
|
|
";
|
|
|
|
}
|