script

  1. Preacher

    Shell 'Garbage' output during script execution (via cron)

    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...
  2. V

    IP

    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!
  3. D

    How to show a progress or percentage bar on script?

    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...
  4. daruffneck2

    Solved root or userland for cron job

    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...
  5. W

    Script to shutdown remote system?

    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...
  6. CleanCut

    Solved Why won't my "new-style" rc script start at boot?

    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)...
  7. Hornpipe2

    Perl Script to Plot Dependencies

    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...
  8. Kalero

    SmartGit on FreeBSD

    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...
Back
Top