summaryrefslogtreecommitdiffstats
path: root/source/n/bootp/_bootp
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bootp/_bootp')
-rw-r--r--source/n/bootp/_bootp/etc/bootptab.new0
-rw-r--r--source/n/bootp/_bootp/install/doinst.sh14
-rwxr-xr-xsource/n/bootp/_bootp/usr/sbin/bootpd0
-rwxr-xr-xsource/n/bootp/_bootp/usr/sbin/bootpef0
-rwxr-xr-xsource/n/bootp/_bootp/usr/sbin/bootpgw0
-rwxr-xr-xsource/n/bootp/_bootp/usr/sbin/bootptest0
6 files changed, 14 insertions, 0 deletions
diff --git a/source/n/bootp/_bootp/etc/bootptab.new b/source/n/bootp/_bootp/etc/bootptab.new
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/source/n/bootp/_bootp/etc/bootptab.new
diff --git a/source/n/bootp/_bootp/install/doinst.sh b/source/n/bootp/_bootp/install/doinst.sh
new file mode 100644
index 000000000..14f91f8fd
--- /dev/null
+++ b/source/n/bootp/_bootp/install/doinst.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+config etc/bootptab.new
+
diff --git a/source/n/bootp/_bootp/usr/sbin/bootpd b/source/n/bootp/_bootp/usr/sbin/bootpd
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/source/n/bootp/_bootp/usr/sbin/bootpd
diff --git a/source/n/bootp/_bootp/usr/sbin/bootpef b/source/n/bootp/_bootp/usr/sbin/bootpef
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/source/n/bootp/_bootp/usr/sbin/bootpef
diff --git a/source/n/bootp/_bootp/usr/sbin/bootpgw b/source/n/bootp/_bootp/usr/sbin/bootpgw
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/source/n/bootp/_bootp/usr/sbin/bootpgw
diff --git a/source/n/bootp/_bootp/usr/sbin/bootptest b/source/n/bootp/_bootp/usr/sbin/bootptest
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/source/n/bootp/_bootp/usr/sbin/bootptest