remove inadvertant references to bash
This commit is contained in:
parent
83e56a3a90
commit
1565a8414d
2 changed files with 6 additions and 2 deletions
|
@ -25,6 +25,8 @@ in stdenv.mkDerivation rec {
|
|||
makeWrapper ${lua}/bin/lua $out/bin/${pname} \
|
||||
--prefix LUA_CPATH ";" ${netlink}/lib/lua/${lua.luaversion}/\?.so \
|
||||
--add-flags $out/lib/${pname}.lua
|
||||
# makeWrapper adds a shebang for bash
|
||||
sed -i -e '1c#!/bin/sh' $out/bin/${pname}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
liminix
|
||||
, busybox
|
||||
, writeShellScript
|
||||
, writeAshScript
|
||||
, serviceFns
|
||||
} :
|
||||
let
|
||||
|
@ -10,7 +10,9 @@ in
|
|||
interface: { ... } @ args:
|
||||
let
|
||||
name = "${interface.device}.udhcp";
|
||||
script = writeShellScript "udhcp-notify" ''
|
||||
script = writeAshScript "udhcp-notify" {
|
||||
# runtimeInputs = [ iproute2 ] using busybox version of ip
|
||||
} ''
|
||||
. ${serviceFns}
|
||||
action=$1
|
||||
|
||||
|
|
Loading…
Reference in a new issue