adjust deprecation schedule for mtab

- Quiet the deprecation messages forr now
- update the feature removal schedule to reflect that it will be removed
  in 2.0.
This commit is contained in:
William Hubbs 2014-08-16 15:07:48 -05:00
parent 1b26d547a5
commit 645f7b6947
2 changed files with 1 additions and 7 deletions

View File

@ -62,7 +62,7 @@ Who:
What: the mtab service script What: the mtab service script
When: 1.0 When: 2.0
Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Linux systems Linux systems

View File

@ -16,12 +16,6 @@ start()
return 0 return 0
fi fi
ewarn "Please run the following command as root on your system."
ewarn
ewarn "ln -snf /proc/self/mounts /etc/mtab"
ewarn
ewarn "The support for updating /etc/mtab as a file is"
ewarn "deprecated and will be removed in the future."
ebegin "Updating /etc/mtab" ebegin "Updating /etc/mtab"
if ! echo 2>/dev/null >/etc/mtab; then if ! echo 2>/dev/null >/etc/mtab; then
ewend 1 "/etc/mtab is not updateable" ewend 1 "/etc/mtab is not updateable"