[gelöst] Wie speichere ich den PKG_PATH?

Linthorul

NetBSD Benutzer
Hallo,

weiß jemand, wie ich den PKG_PATH speichere?

Ich habe nämlich keine Lust immer
Code:
PKG_PATH=ftp.langeadresse.org
export PKG_PATH
einzutippen.

Ach ja gibt es schnellere Mirrors als der langsame netbsd.org-Mirror?

Danke schonmal.

LG Linthorul
 
Wie jede andere Umgebungsvariable u.Ä. könntest du es einfach in /etc/profile oder /etc/csh.cshrc (je nach Shell) eintragen ;)
 
Code:
  GNU nano 1.2.4                 File: /etc/profile

#       $NetBSD: profile,v 1.1 1997/06/21 06:07:39 mikel Exp $
#
# System-wide .profile file for sh(1).
PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD-4.0/amd64/All
export PKG_PATH














                                [ Read 5 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell

Ist die /etc/profile jetzt so richtig?
 
Den Exportbefehl kannst weglassen.
Alle Variablen deiner profile Datei werden beim einlogen geladen.
 
> Trotzdem sollte NetBSD.org sich mal einen besseren leisten!

Kannst ja einen spenden.
 
Zurück
Oben