scripts

  1. S

    Startup scripts finally working

    Being a total linux/freensd noob, I had no idea why my scripts were running on boot. they were throwing all kinds of errors. So I'm trying to post what I finally got to work here so others don't have to struggle for as long as I did...someone please correct me if I'm wrong 1. in your script...
  2. T

    Tips for IOCAGE jail installation scripts

    Here is a example script that creates a simple "testjail" with iocage. This script may give you some practical hints, especially if you are writing installation scripts for iocage jails. For example, you can execute commands in the jail with iocage exec <jail> <command> There is also another...
  3. Guinea

    All-inclusive Script/E-mail Report

    This is going to come across as grossly lazy of me, but I figured it was worth a shot and "why reinvent the wheel?" I am hoping someone has already come up with a solution that does something similar to what I have in mind. I am trying to monitor my FreeNAS build (which is primarily used for...
  4. N

    Question for DEVs RE: Directory Structure & Upgrades

    I need to create a directory for custom scripts (mainly for test/maintenance), and I want this directory totally independent from my storage pools so that I can use it even with my pool disks disconnected from the system. I used to use a UDF USB Drive, but now that I have upgraded to V11, UDF...
  5. N

    Custom Tools Directory

    On my FreeNAS 8.3.1 I'm a UDF Flash Drive to house my custom maintenance scripts so that they are totally independent of my data pools. I just upgraded to FreeNAS v11U4, so using a UDF Flash Drive is no longer an option. I am now using a 120GB SSD as a boot drive, so I was wondering if there...
  6. emk2203

    How to change file ownership properly in jail by a script?

    I am running transmission in a jail and would like to have the resulting downloaded files to have a different owner than the transmission user. I know that I can run transmission as a different user by adding transmission_user and transmission_group to the jail's rc.conf, but then I have one...
  7. fahadshery

    SOLVED How to use Don's Video Transcode Script on Handbrake Jail

    Hi All, Disclaimer: I am a total noob trying out new things. But thank you all for your help and support. I have been studying Don's Video Transcode script for a while and want to try it on my FreeNas. (just because its a power machine to video transcode) Here are the details...
  8. J

    SOLVED Cron Job script will not run

    Hi, I have a script that is designed to pull a couple of spreadsheets via a curl request. I've tested the script multiple times and works perfectly within the shell, however when I try to set it up as a cron job, not only does the script not run at the specified time, it doesn't run at all even...
  9. nojohnny101

    create .bash_profile type file

    This might be a simple answer but I wanted to double check with you guys before I go ahead and create it as it will be through the CLI and I don't want to mess something up by placing it in the wrong place. Short: I want to create a file similar to the .bash_profile file I have on my computer...
  10. D

    SOLVED Problem with running VM when virtualbox jail stops - how to fine tune how your jail is stopped

    Hi all. I've been wondering quite some days wether I should post thit or not. Having read a bunch of things on the forums, I think I should now ask for help. Here's my setup: -I have a VirtualBox jail (the default one), in which I created a Debian64 VM, running a Debian 8.6.0 64 bits distro...
  11. Bidule0hm

    Scripts to report SMART, ZPool and UPS status, HDD/CPU T°, HDD identification and backup the config

    I wanted to share my scripts because I think I'm not the only one who wants to monitor his FreeNAS server a bit more closely and in a more personalized way than the automatic nightly emails would do. Please note that you're the only one responsible of what you do in the CLI so don't blame me if...
Top