nixpkgs/pkgs/servers/network-script/builder.sh
Armijn Hemel 35e30e7797 adapt files so that "networking" now also work with our new scheme
svn path=/nixpkgs/trunk/; revision=5049
2006-03-17 14:16:11 +00:00

11 lines
228 B
Bash

source $stdenv/setup
ensureDir $out
sed -e "s^@bash\@^$bash^g" \
-e "s^@dhcp\@^$dhcp^g" \
-e "s^@initscripts\@^$initscripts^g" \
-e "s^@nettools\@^$nettools^g" \
< $script > $out/control
chmod +x $out/control