Displaying 4 results from an estimated 4 matches for "errexit".
Did you mean:
err_exit
2006 Aug 18
2
[patch] simplify nuke
please pull
git://charm.itp.tuwien.ac.at/mattems/klibc/.git maks
for the change:
maximilian attems:
[klibc] simplify nuke
fixes boot failures due to unexpected error returns
usr/utils/nuke.c | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/usr/utils/nuke.c b/usr/utils/nuke.c
index 01b300f..9470bcf 100644
--- a/usr/utils/nuke.c
+++
2013 Sep 15
1
group share directory
...t ACL's:
http://brunogirin.blogspot.com/2010/03/shared-folders-in-ubuntu-with-setgid.html
http://techslaves.org/2010/04/23/posix-default-acls-umask-and-project-directories/
Here is a Bourne shell script that implements a partial solution:
#!/bin/sh
set -o nounset
set -o errexit
DIR=/mnt/z/data/GroupShare
USERNAME=groupshare
if `grep -q $USERNAME /etc/passwd`; then deluser --system $USERNAME; fi
if `grep -q $USERNAME /etc/group`; then delgroup --system $USERNAME; fi
if [ -d $DIR ]; then rm -rf $DIR; fi
adduser --system --group --no-create-h...
2011 Nov 11
6
Puppet in a bash script
Hello,
I''m using puppet via a bash script when I spin up a machine to configure
it. I''d like to restart the instance after puppet''s run is complete. In
my bash script I have:
puppet agent --test
shutdown -r now
Puppet runs to completion, but "shutdown -r now" never executes. I''m not
sure why not - these are the last two lines in my bash
2016 Jun 19
5
rsync script for snapshot backups
Hey guys,
i tried to create a simple rsync script that should create daily backups
from a ZFS storage and put them into a timestamp folder.
After creating the initial full backup, the following backups should
only contain "new data" and the rest will be referenced via hardlinks
(-link-dest)
This was at least a simple enough scenario to achieve it with my
pathetic scripting skills.