Permalink
Browse files

damn you shell syntax! :)

svn path=/nixos/trunk/; revision=33603
  • Loading branch information...
bluescreen303 committed Apr 5, 2012
1 parent 56d9e60 commit 9a91181be9727fc01e225b6adddebbe61b4d815e
Showing with 3 additions and 3 deletions.
  1. +3 −3 modules/services/networking/dhcpcd.nix
@@ -56,11 +56,11 @@ let
# it"), so we silently lose time synchronisation.
${config.system.build.upstart}/sbin/initctl stop ntpd
- ${config.system.build.upstart}/sbin/initctl emit -n ip-up "$params $wifiparams"
+ ${config.system.build.upstart}/sbin/initctl emit -n ip-up $params $wifiparams
fi
- if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER] ; then
- ${config.system.build.upstart}/sbin/initctl emit -n ip-down "$params $wifiparams"
+ if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER ] ; then
+ ${config.system.build.upstart}/sbin/initctl emit -n ip-down $params $wifiparams
fi
'';

0 comments on commit 9a91181

Please sign in to comment.