summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/gbde
Commit message (Collapse)AuthorAgeFilesLines
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* Move 'local_tr' function to rc.subr and change its name to 'ltr'.pjd2005-08-141-22/+1
| | | | MFC after: 3 days
* Add a comment which explain why we need to use special function instead ofpjd2005-01-301-0/+2
| | | | tr(1)/sed(1)/awk(1).
* We cannot use sed(1), because rc.d/gbde has to be called beforepjd2005-01-231-1/+20
| | | | | | | | | rc.d/mountcritlocal and sed(1) is placed in /usr/bin/. Other useful tools for this task are also placed in /usr/ (tr(1), awk(1)), so I implemented local_tr() function which works simlar to tr(1). Reported by: Amir Shalem <amir@boom.org.il> MFC after: 1 week
* Fix handling of providers with / in them (e.g. mirror/foo).pjd2005-01-211-1/+2
| | | | | Submitted by: Attila Nagy <bra@fsn.hu> MFC after: 1 week
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+1
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* - Be more userfriendly and allow to specify gbde device name in those forms:pjd2004-10-071-10/+13
| | | | | | | | | | | device device.bde /dev/device /dev/device.bde - Fix stop routine: + There don't have to be file system mounted on gbde device, so ignore errors from umount(8). + Only detach existing gbde devices.
* Only try to attach if parent device actually exists.pjd2004-10-071-1/+1
| | | | | | | I used ugly "/dev/${parent}" instead of "${parentdev}", because "/dev/" prefix for devices listed in gbde_devices variable is optional. Reported by: Sean McNeil <sean@mcneil.com>
* Lock file for gbde devices is optional.pjd2004-10-061-2/+6
|
* For the gbde attach script:simon2004-07-181-3/+13
| | | | | | | | | | | - Ask the user up to X times (3 by default) for the pass-phrase, if it is incorrect the first time. - Add support for storing the lockfiles in another other directory than /etc. - Document that it is possible to override the location of each single lockfile. Approved by: pjd
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.pjd2004-03-081-1/+1
| | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
* Missed one in previous commit.des2004-02-031-1/+2
|
* Style fixes.des2004-02-031-5/+13
|
* Add a script to automatically attach gbde devices found in fstabwollman2003-06-171-0/+92
(or rc.conf) at boot time, and detach them when shutting down. Not added to the Makefile to give the rcng gurus an opportunity to improve it.
OpenPOWER on IntegriCloud