damn you shell syntax! :)
svn path=/nixos/trunk/; revision=33603
This commit is contained in:
parent
56d9e60bb7
commit
9a91181be9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue