* A helpful warning.
svn path=/nixos/trunk/; revision=7856
This commit is contained in:
parent
42bcb9a2a7
commit
b044899891
1 changed files with 10 additions and 0 deletions
|
@ -51,3 +51,13 @@ fi
|
||||||
if test "$action" = "switch" -o "$action" = "boot" -o "$action" = "test"; then
|
if test "$action" = "switch" -o "$action" = "boot" -o "$action" = "test"; then
|
||||||
$pathToConfig/bin/switch-to-configuration "$action"
|
$pathToConfig/bin/switch-to-configuration "$action"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$action" = "test"; then
|
||||||
|
cat >&2 <<EOF
|
||||||
|
|
||||||
|
Warning: if you remove the symlink \`$pathToConfig', the active system
|
||||||
|
configuration may be garbage collected! This may render the system
|
||||||
|
inoperable (though a reboot will fix things).
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue