1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
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

12 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