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
@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf)
|
||||
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
||||
if (file_readable(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))
|
||||
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))
|
||||
return buf;
|
||||
return NULL;
|
||||
|
@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf)
|
||||
snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file);
|
||||
if (file_readable(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))
|
||||
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))
|
||||
return buf;
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user