Opened 16 years ago
Closed 15 years ago
#3902 closed enhancement (invalid)
Netscript over-written during upgrade installation
Reported by: | haiqu | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The file /boot/system/boot/netscript contains examples of how to set up some network parameters. If this file is actually set up, it will be over-written next time the system is upgraded from sources.
Suggest changing the filename to netscript.sample and thus allowing the actual netscript to remain available without re-editing every time.
Change History (4)
follow-up: 3 comment:1 by , 16 years ago
comment:2 by , 16 years ago
Usually, except that this file needs to be configured for the specific NIC in the user's system.
In fact I'm unsure whether it's even used with the current networking stack, maybe someone should check into that first.
comment:3 by , 16 years ago
Replying to scottmc:
Shouldn't users not be changing things in the /boot/system folders?
This is 100% correct. The system folder is off limits to 3rd party applications and the end user. Granted, this is currently done by convention and is not enforced by the system.
While one could argue that the system folder needs to be modified in the case of sound drivers conflicting with OSS, I would point out that the desired functionality -- preventing such collision, has not yet been implemented.
Rob, looking at Haiku's /boot/system/boot/Netscript file, the example commands appear to be CLI commands. In addition to this, looking at R5Bone's Netscript, it explicitly states to not edit the file and to instead add the commands to /boot/home/config/boot/UserBootScript. Could you try placing your customizations in UserBootScript? If it works, then Haiku's Netscript file should include a similar explanatory text comment to help avoid future confusion.
comment:4 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
/boot/system should not be modified by users.
Shouldn't users not be changing things in the /boot/system folders?