damn you shell syntax! :)

svn path=/nixos/trunk/; revision=33603
This commit is contained in:
Mathijs Kwik 2012-04-05 08:20:43 +00:00
parent 56d9e60bb7
commit 9a91181be9

View file

@ -56,11 +56,11 @@ let
# it"), so we silently lose time synchronisation. # it"), so we silently lose time synchronisation.
${config.system.build.upstart}/sbin/initctl stop ntpd ${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 fi
if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER] ; then if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER ] ; then
${config.system.build.upstart}/sbin/initctl emit -n ip-down "$params $wifiparams" ${config.system.build.upstart}/sbin/initctl emit -n ip-down $params $wifiparams
fi fi
''; '';