Displaying 10 results from an estimated 10 matches for "__eof__".
2013 Aug 22
0
NUT under NAS4Free config issue
...eforge.net/p/nas4free/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
To address your original concern (adding remote users for monitoring), I would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to include something like this at the end of the nut_mkconf() function:
cat <<__EOF__ >> ${nut_upsd_users}
[monslave]
password = abcd
upsmon slave
__EOF__
(Be sure to add it after the line containing "... > ${nut_upsd_users}")
Of course, this will be lost when you upgrade NAS4Free, but maybe you can convince one of the dev...
2013 Aug 22
3
NUT under NAS4Free config issue
Thanks, the strange is that I could set in this way the master user.
At NAS4Free forum cannot get help, I presented the problem there too, but
no real help.
On Thu, Aug 22, 2013 at 2:19 AM, Charles Lepple <clepple at gmail.com> wrote:
> On Aug 21, 2013, at 10:41 AM, Incze Andras wrote:
>
> > Having the next problem, manually adding via WinSCP in the upsd.users
> file the
2013 Aug 23
2
NUT under NAS4Free config issue
...48/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I
> would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to
> include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, this will be lost when you upgrade NAS4Free, but...
2013 Aug 23
0
NUT under NAS4Free config issue
...e/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, this will be lost when you upgrade NAS4Free, b...
2013 Aug 22
1
NUT under NAS4Free config issue
...48/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I
> would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to
> include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, this will be lost when you upgrade NAS4Free, but...
2007 Aug 06
6
Opposite of cp -u
I had at one point copied a large number of files between drives and did
not use the -p and thus the timestamps were all set to the date of the copy.
I did not catch this, and deleted the source. So I 'lived' with it and
have since changed many files.
Well, yesterday I found a good backup of many of those files and I want
to restore them to their proper dates.
cp -p -u is exactly
2010 Sep 21
1
[PATCH] Fix appliance build dependency problem
...MG) $(INITRAMFSIMG).bak 2>/dev/null; :
mv $(VMLINUZ) $(VMLINUZ).bak 2>/dev/null; :
if ! bash make.sh; then rm -f $@; exit 1; fi
diff --git a/appliance/make.sh.in b/appliance/make.sh.in
index 9150f55..ccaa757 100755
--- a/appliance/make.sh.in
+++ b/appliance/make.sh.in
@@ -168,10 +168,6 @@ __EOF__
ls -lh $koutput
- # Now directly run the update script to copy/update the daemon in the
- # initramfs.
- cd appliance && bash update.sh
-
elif [ "@DIST@" = "DEBIAN" ]; then
cd @top_builddir@/appliance
debirf make -n debian
--
1.7.2.3
2010 Oct 23
1
[PATCH] Make appliance-building work on systems with default library search paths differing from the appliance's
...* $koutput
- @FEBOOTSTRAP_RUN@ initramfs -- rm -rf boot
+ bootstrap_run initramfs -- rm -rf boot
# Minimize the image.
- @FEBOOTSTRAP_MINIMIZE@ initramfs
+ bootstrap_minimize initramfs
# Add some missing configuration files.
if [ ! -f initramfs/etc/hosts ]; then
@@ -160,7 +187,7 @@ __EOF__
fi
if [ ! -f initramfs/etc/fstab ]; then
- @FEBOOTSTRAP_RUN@ initramfs -- touch /etc/fstab
+ bootstrap_run initramfs -- touch /etc/fstab
fi
echo nameserver 169.254.2.3 > resolv.conf.new
--
1.7.3.125.g963bc.dirty
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed
any light on this message and where I should be looking? Thanks
root@bobshost:~# shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Stopping Shorewall...Processing /etc/shorewall/stop ...
IP Forwarding Enabled
2005 May 31
11
More Tests for 2.4.0-RC2 - strange behaviour
...ules
++ IFS=''
''
++ return
+ modules=/etc/shorewall/modules
+ save_progress_message ''Loading kernel modules...''
+ echo
+ echo ''progress_message "Loading kernel modules..."''
+ echo
+ save_command ''reload_kernel_modules <<__EOF__''
+ echo ''reload_kernel_modules <<__EOF__''
+ read command
+ case "$command" in
+ read command
+ case "$command" in
+ read command
+ case "$command" in
+ read command
+ case "$command" in
+ read command
+ case "$command&quo...