All checks were successful
Source release / source-package (push) Successful in 46s
Update the default net$log.dat template to use the same basic drive layout as a standard Novell login script. The default login now maps: F: -> SYS:SYSTEM S1: -> SYS:PUBLIC S2: -> SYS: This keeps the visible login result closer to Novell NetWare while leaving the surrounding sample/login text intact.
60 lines
1.5 KiB
CMake
60 lines
1.5 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:\
|
|
;
|
|
; Search drive for NetWare/MARS NWE utilities:
|
|
MAP INS S1:=SYS:PUBLIC
|
|
|
|
; Search drive for the SYS: root. This keeps SYS:\ on the search path like
|
|
; the standard Novell login script does.
|
|
MAP INS S2:=SYS:
|
|
|
|
; First regular drive mapped to SYS:\SYSTEM, matching the standard Novell
|
|
; login script layout shown by MAP after login.
|
|
MAP *1:=SYS:SYSTEM
|
|
|
|
; 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."
|