mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 00:49:32 +02:00
networkmanager: add svn trunk packages, fix up bad packaging, and backport fixes to 0.6
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2772 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
28
meta-extras/packages/networkmanager/files/25NetworkManager
Normal file
28
meta-extras/packages/networkmanager/files/25NetworkManager
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# NetworkManager startup script
|
||||
|
||||
. /etc/profile
|
||||
|
||||
case $1 in
|
||||
'start')
|
||||
echo -n "Starting NetworkManager daemon: NetworkManager"
|
||||
/usr/sbin/NetworkManager
|
||||
echo "."
|
||||
;;
|
||||
|
||||
'stop')
|
||||
echo -n "Stopping NetworkManager daemon: NetworkManager"
|
||||
kill `ps |grep /usr/sbin/NetworkManager | grep -v grep | cut "-d " -f2`
|
||||
echo "."
|
||||
;;
|
||||
|
||||
'restart')
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: $0 { start | stop | restart }"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user