diff options
Diffstat (limited to 'source/n/bootp')
-rw-r--r-- | source/n/bootp/_bootp/etc/bootptab.new | 0 | ||||
-rw-r--r-- | source/n/bootp/_bootp/install/doinst.sh | 14 | ||||
-rwxr-xr-x | source/n/bootp/_bootp/usr/sbin/bootpd | 0 | ||||
-rwxr-xr-x | source/n/bootp/_bootp/usr/sbin/bootpef | 0 | ||||
-rwxr-xr-x | source/n/bootp/_bootp/usr/sbin/bootpgw | 0 | ||||
-rwxr-xr-x | source/n/bootp/_bootp/usr/sbin/bootptest | 0 |
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 00000000..e69de29b --- /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 00000000..14f91f8f --- /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 00000000..e69de29b --- /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 00000000..e69de29b --- /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 00000000..e69de29b --- /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 00000000..e69de29b --- /dev/null +++ b/source/n/bootp/_bootp/usr/sbin/bootptest |