Compare commits

...
9 Commits
Author SHA1 Message Date
David Dollar 4abd3ebedb 0.57.0 2012-08-21 10:58:11 -04:00
David Dollar f765436dde fix errant space 2012-08-21 10:58:00 -04:00
David Dollar b5c513b4b5 Merge pull request #247 from asanghi/master
start on boot worked with network-interface but not network
2012-08-21 07:56:30 -07:00
Aditya Sanghi ee761ff098 Another fix for PR #229 2012-08-21 20:16:28 +05:30
David Dollar 27c22deb6c update changelog 2012-08-19 12:05:37 -04:00
David Dollar 681a9f7e61 0.56.0 2012-08-19 12:05:07 -04:00
David Dollar 8335a2b1ba read .profile, not .profile.d 2012-08-16 12:57:22 -04:00
David Dollar 407425ca78 update changelog 2012-08-14 17:08:14 -04:00
Aditya Sanghi cc4306492e run on reboot works with network-interface not network 2012-08-12 14:17:39 +05:30
6 changed files with 30 additions and 15 deletions
+8
View File
@@ -1,3 +1,11 @@
## 0.56.0 (2012-08-19)
* read .profile, not .profile.d [David Dollar]
## 0.55.0 (2012-08-14)
* use a forked process to exec a run with environment [David Dollar]
## 0.54.0 (2012-08-14) ## 0.54.0 (2012-08-14)
* use Foreman::Process to extract command running [David Dollar] * use Foreman::Process to extract command running [David Dollar]
+1 -1
View File
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
foreman (0.55.0) foreman (0.57.0)
thor (>= 0.13.6) thor (>= 0.13.6)
GEM GEM
+6 -9
View File
@@ -16,12 +16,12 @@ usage() {
exit exit
} }
read_profiled="" read_profile=""
while getopts ":hd:p" OPT; do while getopts ":hd:p" OPT; do
case $OPT in case $OPT in
d) cd "$OPTARG" ;; d) cd "$OPTARG" ;;
p) read_profiled="1" ;; p) read_profile="1" ;;
h) usage ;; h) usage ;;
\?) error "invalid option: -$OPTARG" ;; \?) error "invalid option: -$OPTARG" ;;
:) error "option -$OPTARG requires an argument" ;; :) error "option -$OPTARG requires an argument" ;;
@@ -32,13 +32,10 @@ shift $((OPTIND-1))
[ -z "$1" ] && usage [ -z "$1" ] && usage
if [ "$read_profiled" == "1" ]; then if [ "$read_profile" == "1" ]; then
shopt -s nullglob if [ -f .profile ]; then
for script in .profile.d/*; do source .profile
echo "sourcing $script" fi
source $script
done
shopt -u nullglob
fi fi
exec "$@" exec "$@"
+7 -2
View File
@@ -7,5 +7,10 @@ EOF
end script end script
start on started network start on (started network-interface
stop on stopping network or started network-manager
or started networking)
stop on (stopping network-interface
or stopping network-manager
or stopping networking)
+1 -1
View File
@@ -1,5 +1,5 @@
module Foreman module Foreman
VERSION = "0.55.0" VERSION = "0.57.0"
end end
+7 -2
View File
@@ -7,5 +7,10 @@ EOF
end script end script
start on started network start on (started network-interface
stop on stopping network or started network-manager
or started networking)
stop on (stopping network-interface
or stopping network-manager
or stopping networking)