forked from mirrors/nixpkgs
3d24096431
We can now start SSH with optional syslogging support. Also, if a program is not already present in the /etc/rc.d "profile" (actually, not it has become a collection of profiles) it will be automatically added. This sounds hackish, and it probably is, but also, it might be the best workable solution for now... svn path=/nixpkgs/trunk/; revision=5044
12 lines
232 B
Bash
12 lines
232 B
Bash
source $stdenv/setup
|
|
|
|
ensureDir $out
|
|
|
|
sed -e "s^@bash\@^$bash^g" \
|
|
-e "s^@syslog\@^$syslog^g" \
|
|
-e "s^@nicename\@^$nicename^g" \
|
|
-e "s^@initscripts\@^$initscripts^g" \
|
|
< $script > $out/control
|
|
|
|
chmod +x $out/control
|