* A helpful warning.
svn path=/nixos/trunk/; revision=7856
This commit is contained in:
parent
42bcb9a2a7
commit
b044899891
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user