mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Look for help files in /usr/src/usr.sbin/sysinstall instead of
/usr/src/release/sysinstall.
This commit is contained in:
parent
0652b882c8
commit
25edf1a5eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71188
@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf)
|
|||||||
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return expand(buf);
|
return expand(buf);
|
||||||
snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.hlp", file);
|
snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.hlp", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return buf;
|
return buf;
|
||||||
snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.TXT", file);
|
snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.TXT", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return buf;
|
return buf;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf)
|
|||||||
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return expand(buf);
|
return expand(buf);
|
||||||
snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.hlp", file);
|
snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.hlp", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return buf;
|
return buf;
|
||||||
snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.TXT", file);
|
snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.TXT", file);
|
||||||
if (file_readable(buf))
|
if (file_readable(buf))
|
||||||
return buf;
|
return buf;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user