diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/initscripts/initscripts-1.0/hostname.sh | |
download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/hostname.sh')
-rwxr-xr-x | openembedded/packages/initscripts/initscripts-1.0/hostname.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openembedded/packages/initscripts/initscripts-1.0/hostname.sh b/openembedded/packages/initscripts/initscripts-1.0/hostname.sh new file mode 100755 index 0000000000..0f3d374286 --- /dev/null +++ b/openembedded/packages/initscripts/initscripts-1.0/hostname.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # hostname.sh Set hostname. | ||
3 | # | ||
4 | # Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl | ||
5 | # | ||
6 | |||
7 | if test -f /etc/hostname | ||
8 | then | ||
9 | hostname -F /etc/hostname | ||
10 | fi | ||
11 | |||