* A helpful warning.

svn path=/nixos/trunk/; revision=7856
This commit is contained in:
Eelco Dolstra 2007-02-06 13:20:53 +00:00
parent 42bcb9a2a7
commit b044899891

View File

@ -51,3 +51,13 @@ fi
if test "$action" = "switch" -o "$action" = "boot" -o "$action" = "test"; then
$pathToConfig/bin/switch-to-configuration "$action"
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