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.
|
||||
${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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue