I have this script which checks for updates on my host system and on my jails:
#!/usr/local/bin/bash
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin"
# Updaten en rapporteren Ports Tree host system:
portsnap cron update && {
echo -e "Packages te...
To write a script, which checks the availability of computers in the network (the range of addresses in the /24 subnet). The Protocol displayed in the form of: IP-address –available/unavailable for each of the addresses.
Please help, for earlier thanks for the answer!
Hi,
I'm a student and I have to create a script, but I want to show a progress bar when the script is making a backup. For example, I'm making a full backup of the FreeBSD system and while the script is making the job, I want to show a progress or a bar percent completed, is that possible on...
May someone can help me out. I want to use a script everytime my machine boots up. Execute before even the splash screen pops up. As I am the single user, I could set it as root in the crontab /etc/crontab following the handbook, so it would act for each other user. If I do so, do I set it as a...
Ultimately, I want to shutdown a freebsd box from my android (there are lots of android apps to run scripts).
I do not want to be prompted for a password.
One step at a time, first I just want to shut down the remote from another freebsd box.
The following did not work:
#!/bin/sh
ssh -t...
On pfSense 2.2.4 (FreeBSD 10.1), my custom init script filebeat_wrapper won't start at boot.
According to rcorder it should start right after boot:
# rcorder /etc/rc.d/* /usr/local/etc/rc.d/*
(snip)
/etc/rc.d/SERVERS
/etc/rc.d/DAEMON
/etc/rc.d/LOGIN
/usr/local/etc/rc.d/filebeat_wrapper
(snip)...
I was interested in seeing a graph of package dependencies, so I could trace which packages were needed by which in a complete tree. portmaster -l can give basic information (leaf, trunk, root, branch) but does not show the relationships.
I wrote the following tool to list dependencies as a...
Hi,
yesterday, I attempted to install the latest SmartGit release on my FreeBSD (10.2) and, being written in Java, it should work. But when I run the boot script I get these exceptions:
Error invoking SmartGit
java.lang.reflect.InvocationTargetException
at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.