projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction permissions répertoire emacs site-lisp
[hvlinux.git]
/
stage3
/
pkg
/
ddclient
diff --git
a/stage3/pkg/ddclient
b/stage3/pkg/ddclient
index
46de4af
..
2a3d29d
100644
(file)
--- a/
stage3/pkg/ddclient
+++ b/
stage3/pkg/ddclient
@@
-1,22
+1,13
@@
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
+#!/bin/bash
-# Applying patches (if any)
-apply_patches ${1}
+hvbuild()
+{
+ cd ${LFS_TMP}/${PACKAGE}
+ install ddclient /usr/sbin
+ mkdir -p /etc/ddclient
+ cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
-cd ${LFS_TMP}/${1}
-install ddclient /usr/sbin
-mkdir -p /etc/ddclient
-cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
-
-cat > /var/lib/dhcpc/dhcpcd.exe << "EOF"
+ cat > /var/lib/dhcpc/dhcpcd.exe << "EOF"
#!/bin/sh
## Update the DNS server unless the IP address is a private address
#!/bin/sh
## Update the DNS server unless the IP address is a private address
@@
-58,6
+49,5
@@
esac
exit $?
EOF
exit $?
EOF
-chmod 740 /var/lib/dhcpc/dhcpcd.exe
-
-exit $?
+ chmod 740 /var/lib/dhcpc/dhcpcd.exe
+}