Files
mars-nwe/sys/net$log.dat.cmake
Mario Fetka 3fbd29adb9
All checks were successful
Source release / source-package (push) Successful in 46s
sys: use explicit Novell-style search drive mappings
Update the default net$log.dat template to map the standard search
drives with explicit DOS drive letters, matching the visible layout of
a Novell login more closely.

The default login script now maps:

  F:  -> SYS:SYSTEM
  S1: -> Z:SYS:PUBLIC
  S2: -> Y:SYS:

This makes MAP show the network search drives as Z: and Y: entries
instead of only adding SYS:PUBLIC and SYS: as unnamed search mappings.
2026-05-27 12:31:13 +02:00

61 lines
1.6 KiB
CMake

MAP DISPLAY OFF
BREAK ON
WRITE
WRITE "Welcome %LOGIN_NAME to %FILE_SERVER."
WRITE "Today is %MONTH_NAME %DAY, %YEAR - %HOUR:%MINUTE %AM_PM."
WRITE "Station: %STATION"
WRITE
; Default mappings for a fresh MARS NWE installation.
; A new setup normally only has the SYS: volume, so this script does not
; reference APPS:, HOME:, CD-ROM volumes, or other file servers.
;
; Match the classic NetWare default mapping layout:
; Drive F: = SERVER\SYS:\SYSTEM
; S1/Z: = SERVER\SYS:\PUBLIC
; S2/Y: = SERVER\SYS:\
;
; First regular drive mapped to SYS:\SYSTEM, matching the standard Novell
; login script layout shown by MAP after login.
MAP *1:=SYS:SYSTEM
; Search drive for NetWare/MARS NWE utilities. Use explicit DOS drive
; letters so MAP shows S1 as Z:, like the standard Novell login script.
MAP INS S1:=Z:SYS:PUBLIC
; Search drive for the SYS: root. Use explicit Y: so MAP shows S2 as
; Y: [SERVER\SYS: \].
MAP INS S2:=Y:SYS:
; Examples for local customisation. Enable only after creating the
; corresponding directories or volumes.
;
; User home directory on SYS:
; IF MEMBER OF "EVERYONE" THEN
; MAP ROOT H:=SYS:HOME\%LOGIN_NAME
; END
;
; Shared directory on SYS:
; IF MEMBER OF "EVERYONE" THEN
; MAP G:=SYS:SHARED
; END
;
; Department example:
; IF MEMBER OF "SALES" THEN
; MAP S:=SYS:DEPT\SALES
; END
;
; Local DOS search path example:
; MAP INS S2:=C:\DOS
; COMSPEC=C:\COMMAND.COM
;
; Start a program after login, for example a menu:
; #SYS:PUBLIC\MENU.EXE
;
; Exit to a workstation batch file:
; EXIT "STARTNET.BAT"
WRITE
WRITE "Login script complete."