diff --git a/system/switch-to-configuration.sh b/system/switch-to-configuration.sh index dcca984282b1..eaeb3106afd9 100644 --- a/system/switch-to-configuration.sh +++ b/system/switch-to-configuration.sh @@ -35,6 +35,18 @@ fi if test "$action" = "switch" -o "$action" = "test"; then + oldVersion=$(cat /var/run/current-system/upstart-interface-version 2> /dev/null || echo 0) + newVersion=$(cat @out@/upstart-interface-version 2> /dev/null || echo 0) + + if test "$oldVersion" -ne "$newVersion"; then + cat < $out/kernel-params echo "$configurationName" > $out/configuration-name +echo "$upstartInterfaceVersion" > $out/upstart-interface-version mkdir $out/fine-tune ChildCount=0; diff --git a/upstart-jobs/sshd.nix b/upstart-jobs/sshd.nix index 03dc9f47a9c3..d6c06b24f7e3 100644 --- a/upstart-jobs/sshd.nix +++ b/upstart-jobs/sshd.nix @@ -45,7 +45,7 @@ let gatewayPorts = mkOption { default = "no"; description = " - Specifies whether remote hosts are allowed to connect to ports forwarded for the client. See man sshd_conf. + Specifies whether remote hosts are allowed to connect to ports forwarded for the client. See man sshd_conf. "; }; };