I want to include all the subnet files under /etc/dhcpd/ to /etc/dhcpd.conf
so here is my content of dhcpd.conf
...
include "/etc/dhcpd/*";
however, the check-syntax reports syntax error, as they do not recognize the wildcard *, and display that " file /etc/dhcpd/* could not be found.
... (4 Replies)
I have a script at /java/custom/build.sh
I want to force the user to execute the script from the /java/custom directory ONLY. In other words if the user is in /java I want to exit if they execute custom/build.sh
The directory structure may change from the env to env, so I can't use... (4 Replies)
Hi folks
I have a unix script script1 in a directory folder1 and also I have few input log files in this directory. My input log files will be copied into this directory folder1 from the portable thumb drive.
Now what I want is I need to run this script1 whenever any new file is copied... (2 Replies)
Hi I am trying to write a shell script that is reading all the scripts in the current directory (currently 5) and is allowing me to run the scripts that is in the directory.
I want that this scripts asks te user to execute 1 of the listed scripts.
I have 4 sample scripts in the directory:... (8 Replies)
The way this works from the command prompt is:
___________________________________________
cd /data/local/bin
chmod 0755 file.bin
./file.bin
_______________________________________________
How do I make this happen in a script. The file must be run in its directory but I can not get the... (2 Replies)
I have N number of python scripts which i am receiving from REST web server and i am saving them in /home/mandar/ . Now i want to write a script to run all the python scripts from this directory and monitor them every minute...if any process is dead or hung it should be restarted by this script.
... (0 Replies)
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
I want to run a test for the gem mini_magick:
https://github.com/minimagick/minimagick
I got the directory lib, inside of which i got:
- mini_magick.rb
- mini_gmagick.rb
and inside of the test folder is the test i need to run:
- image_test.rb
and a helper file called:
- test_helper.rb
... (1 Reply)
This script writes the output files to FILES but I don't want to exclude all directories from ABC_CHQ and LYS_ADV, I want to include one sub directory name process which is under ABC_CHQ and LYS_ADV in the search. Right now its excluding everything from prune directories such as ABC_CHQ, LYS_ADV... (10 Replies)
How to run a script/command on all the directories in a directory tree?
The below script is just for the files in a single directory, how to run it on all the directories in a directory tree?
#!/bin/sh
for audio_files in *.mp3
do
outfile="${audio_files%.*}.aiff"
sox "$audio_files"... (2 Replies)
Discussion started by: temp-usr
2 Replies
LEARN ABOUT DEBIAN
cvsd-buildroot
cvsd-buildroot(8) System Manager's Manual cvsd-buildroot(8)NAME
cvsd-buildroot - create a chrooted directory structure for use in cvsd.
SYNOPSIS
cvsd-buildroot DIRECTORY
DESCRIPTION
cvsd-buildroot creates and populates a directory that can be used as a chroot jail for running cvsd (see cvsd(8) ) in.
This script should be run as the root user since the creation of devices and the changing of ownership and permissions require this.
The script gives warnings about files that it's not expecting.
cvsd-buildroot creates the following directory structure:
/bin This directory is populated with the cvs binary that is found on the system.
/lib This directory is populated with all the libraries that are required for running programs in the /bin directory as well as some
predefined required libraries that are present on the system.
/dev Here null and zero devices are created.
/etc In this directory a passwd file is created that is used for matching user id's with usernames. The root and cvsd user are added to
this file if they're not there yet. The passwd file is checked for consistency with the system /etc/passwd to prevent mistakes.
The passwd file is also populated with users referenced in the repository directories. Note that no password data from /etc/passwd
or any other file is stored in the generated passwd file, all password entries are set to 'x'.
/usr Here symbolic links are placed to /bin and /lib for some common library and binary directories found on the system. This is done
for systems that have hard-coded paths for libraries.
/libexec and /usr/libexec
Symbolic links for these directories are created if they are present on the system.
/tmp This directory is cleaned out on systems that have tmpreaper.
After the directories are created and populated ownership and rights are set to a reasonable value (root:root,umask=022).
OPTIONS
cvsd-buildroot takes one argument, namely a directory in which the chroot jail will be created. The directory should be specified with an
absolute path.
NOTES
Creating a chroot environment is a terribly non-portable thing to do and therefore you may experience problems with missing libraries and
system files. For more information see the FAQ and the README. If you have to install libraries or perform actions not covered by
cvsd-buildroot please report your findings to <cvsd-users@lists.arthurdejong.org>.
Rerunning cvsd-buildroot after you have created your repository is advised since the repositories are checked for references to userid's
and lockfile directories.
SEE ALSO cvsd(8)
README
FAQ
AUTHOR
Arthur de Jong <arthur@arthurdejong.org>.
Version 1.0.24 Jun 2012 cvsd-buildroot(8)